diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-26 12:10:52 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-26 22:19:04 -0400 |
commit | 909ee59871402aa8dc7fa4e540d2f7e5da1628fc (patch) | |
tree | 847e624a5c3d163f2adc50aca305131dd5d299d7 | |
parent | 427a5122d55f06c861277297411f7e39a03a703c (diff) | |
download | forums-909ee59871402aa8dc7fa4e540d2f7e5da1628fc.tar forums-909ee59871402aa8dc7fa4e540d2f7e5da1628fc.tar.gz forums-909ee59871402aa8dc7fa4e540d2f7e5da1628fc.tar.bz2 forums-909ee59871402aa8dc7fa4e540d2f7e5da1628fc.tar.xz forums-909ee59871402aa8dc7fa4e540d2f7e5da1628fc.zip |
[feature/template-engine] Removed $this from new phpbb_template_compile calls.
The compile class no longer takes template as a parameter.
PHPBB3-9726
-rw-r--r-- | phpBB/includes/template.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 109f7a29ee..ae68f5fad3 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -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) |