function Smarty::unregister_resource in Quiz 6.5
Same name and namespace in other branches
- 6.6 includes/moodle/lib/smarty/Smarty.class.php \Smarty::unregister_resource()
Unregisters a resource
Parameters
string $type name of resource:
File
- includes/
moodle/ lib/ smarty/ Smarty.class.php, line 831
Class
- Smarty
- @package Smarty
Code
function unregister_resource($type) {
unset($this->_plugins['resource'][$type]);
}