mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +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:
parent
8f097ef156
commit
b684289bb1
@ -67,6 +67,15 @@ class Template {
|
||||
$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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user