From ac207b0f26964b3873f60756da3c647944ca100a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 26 Aug 2016 15:16:39 +0200 Subject: [PATCH] Remove deprecated template listener-related methods --- .../template/ACPTemplateEngine.class.php | 4 ---- .../system/template/TemplateEngine.class.php | 19 ------------------- 2 files changed, 23 deletions(-) diff --git a/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php index f8bbd3dd1a..f2e6547932 100644 --- a/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php @@ -24,10 +24,6 @@ class ACPTemplateEngine extends TemplateEngine { $this->templatePaths = ['wcf' => WCF_DIR.'acp/templates/']; $this->compileDir = WCF_DIR.'acp/templates/compiled/'; - - if (!defined('NO_IMPORTS')) { - $this->loadTemplateListeners(); - } } /** diff --git a/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php index 6f950ab7d3..b17e2f7936 100755 --- a/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php @@ -113,7 +113,6 @@ class TemplateEngine extends SingletonFactory { $this->loadTemplateGroupCache(); $this->assignSystemVariables(); - $this->loadTemplateListeners(); } /** @@ -714,24 +713,6 @@ class TemplateEngine extends SingletonFactory { return null; } - /** - * Loads all available template listeners. - * - * @deprecated 2.1 - */ - protected function loadTemplateListeners() { - // does nothing - } - - /** - * Returns false. - * - * @deprecated - */ - public function hasTemplateListeners() { - return false; - } - /** * Loads template listener code. */ -- 2.20.1