mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/template-engine] Removed $this from new phpbb_template_compile calls.
The compile class no longer takes template as a parameter. PHPBB3-9726
This commit is contained in:
parent
427a5122d5
commit
909ee59871
1 changed files with 3 additions and 3 deletions
|
@ -378,7 +378,7 @@ class phpbb_template
|
|||
|
||||
$source_file = $this->_source_file_for_handle($handle);
|
||||
|
||||
$compile = new phpbb_template_compile($this);
|
||||
$compile = new phpbb_template_compile();
|
||||
|
||||
if ($compile->compile_write($source_file, $this->_compiled_file_for_handle($handle)) === false)
|
||||
{
|
||||
|
@ -435,7 +435,7 @@ class phpbb_template
|
|||
*/
|
||||
private function _tpl_eval($handle)
|
||||
{
|
||||
$compile = new phpbb_template_compile($this);
|
||||
$compile = new phpbb_template_compile();
|
||||
|
||||
$source_file = $this->_source_file_for_handle($handle);
|
||||
|
||||
|
@ -831,7 +831,7 @@ class phpbb_template
|
|||
}
|
||||
else
|
||||
{
|
||||
$compile = new phpbb_template_compile($this);
|
||||
$compile = new phpbb_template_compile();
|
||||
|
||||
$source_file = $this->_source_file_for_handle($handle);
|
||||
if (($code = $compile->compile_gen($source_file)) !== false)
|
||||
|
|
Loading…
Add table
Reference in a new issue