mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 04:18:55 +00:00
[feature/template-engine] Reinstate phpbb_template#destroy function.
PHPBB3-9726
This commit is contained in:
parent
0462ab3a4a
commit
df76885b11
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue