You are here

function Smarty::unregister_resource in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 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]);
}