Code

Updated smarty
[gosa.git] / gosa-core / include / smarty / sysplugins / smarty_method_unregister_block.php
1 <?php
3 /**
4 * Smarty method Unregister_Block
5
6 * Unregister a Smarty block function plugin
7
8 * @package Smarty
9 * @subpackage SmartyMethod
10 * @author Uwe Tews 
11 */
13 /**
14 * Unregister a Smarty block function plugin
15 */
17 /**
18 * Unregisters block function
19
20 * @param string $block_tag name of template function
21 */
22 function  Smarty_Method_Unregister_Block($smarty, $block_tag)
23 {
24     if (isset($smarty->registered_plugins['block'][$block_tag])) {
25         unset($smarty->registered_plugins['block'][$block_tag]);
26     } 
27
29 ?>