Remove deprecated template listener-related methods
authorMatthias Schmidt <gravatronics@live.com>
Fri, 26 Aug 2016 13:16:39 +0000 (15:16 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 26 Aug 2016 13:16:39 +0000 (15:16 +0200)
wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php

index f8bbd3dd1a4be9cada50c3c40b07c0f8c0992ff1..f2e6547932033c3a9d2a859ce52ce396c3b669df 100644 (file)
@@ -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();
-               }
        }
        
        /**
index 6f950ab7d34385743739e3af652347c4663ad2c0..b17e2f7936fa9208dd6dd26cc8ca7ed257b72541 100755 (executable)
@@ -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.
         */