diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-24 01:18:09 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-24 01:18:58 -0400 |
commit | 321ecf427356f2d503818089c7b0e008e5a73c2c (patch) | |
tree | 2d4f2b00c635e6bdab6c22b97f6520c697ca5412 | |
parent | f29f32e0d67e88a271702264c37852406f4013d8 (diff) | |
download | forums-321ecf427356f2d503818089c7b0e008e5a73c2c.tar forums-321ecf427356f2d503818089c7b0e008e5a73c2c.tar.gz forums-321ecf427356f2d503818089c7b0e008e5a73c2c.tar.bz2 forums-321ecf427356f2d503818089c7b0e008e5a73c2c.tar.xz forums-321ecf427356f2d503818089c7b0e008e5a73c2c.zip |
[feature/template-engine] Delete class_exists checks, rely on autoloading.
PHPBB3-9726
-rw-r--r-- | phpBB/includes/template.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 5d0e8416a4..30ede2f242 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -380,11 +380,6 @@ class phpbb_template trigger_error("template->_tpl_load(): No file specified for handle $handle", E_USER_ERROR); } - if (!class_exists('phpbb_template_compile')) - { - include 'template_compile.php'; - } - $compile = new phpbb_template_compile($this); if ($compile->_tpl_load_file($handle) === false) @@ -404,11 +399,6 @@ class phpbb_template */ private function _tpl_eval($handle) { - if (!class_exists('phpbb_template_compile')) - { - include 'template_compile.php'; - } - $compile = new phpbb_template_compile($this); // If we don't have a file assigned to this handle, die. |