summaryrefslogtreecommitdiff
path: root/libs/plugins/block.php.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugins/block.php.php')
-rw-r--r--libs/plugins/block.php.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/libs/plugins/block.php.php b/libs/plugins/block.php.php
deleted file mode 100644
index 8fedd8b4..00000000
--- a/libs/plugins/block.php.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/**
- * Smarty plugin to execute PHP code
- *
- * @package Smarty
- * @subpackage PluginsBlock
- * @author Uwe Tews
- */
-
-/**
- * Smarty {php}{/php} block plugin
- *
- * @param string $content contents of the block
- * @param object $template template object
- * @param boolean $ &$repeat repeat flag
- * @return string content re-formatted
- */
-function smarty_block_php($params, $content, $template, &$repeat)
-{
- if (!$template->allow_php_tag) {
- throw new SmartyException("{php} is deprecated, set allow_php_tag = true to enable");
- }
- eval($content);
- return '';
-}
-
-?> \ No newline at end of file