mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clears all variables and blocks assigned to this template.
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
public function destroy()
|
||||||
|
{
|
||||||
|
$this->_context->clear();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reset/empty complete block
|
* Reset/empty complete block
|
||||||
* @access public
|
* @access public
|
||||||
|
Reference in New Issue
Block a user