From: Matthias Schmidt Date: Fri, 26 Aug 2016 13:16:39 +0000 (+0200) Subject: Remove deprecated template listener-related methods X-Git-Tag: 3.0.0_Beta_1~478 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac207b0f26964b3873f60756da3c647944ca100a;p=GitHub%2FWoltLab%2FWCF.git Remove deprecated template listener-related methods --- 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. */