You are here

function Smarty::unregister_block in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::unregister_block()

Unregisters block function

Parameters

string $block name of template function:

File

includes/moodle/lib/smarty/Smarty.class.php, line 751

Class

Smarty
@package Smarty

Code

function unregister_block($block) {
  unset($this->_plugins['block'][$block]);
}