mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Interim fix for template data destruction
git-svn-id: file:///svn/phpbb/trunk@167 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -67,6 +67,15 @@ class Template {
|
|||||||
$this->set_rootdir($root);
|
$this->set_rootdir($root);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destroys this template object. Should be called when you're done with it, in order
|
||||||
|
* to clear out the template data so you can load/parse a new template set.
|
||||||
|
*/
|
||||||
|
function destroy()
|
||||||
|
{
|
||||||
|
$_tpldata = array();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the template root directory for this Template object.
|
* Sets the template root directory for this Template object.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user