mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[feature/template-engine] Reinstate phpbb_template#destroy function.
PHPBB3-9726
This commit is contained in:
@@ -167,6 +167,15 @@ class phpbb_template
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all variables and blocks assigned to this template.
|
||||
* @access public
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
$this->_context->clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset/empty complete block
|
||||
* @access public
|
||||
|
Reference in New Issue
Block a user