Fixes usage of __construct instead of __run
authorMatthias Schmidt <gravatronics@live.com>
Tue, 12 Jun 2012 20:23:54 +0000 (22:23 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 12 Jun 2012 20:23:54 +0000 (22:23 +0200)
wcfsetup/install/files/lib/acp/page/AbstractCategoryListPage.class.php

index c3357b647ae80467026e010bd794dc2c5e8d8c4d..162f7b6fceec03808eff8064853f6aeacc6faadb 100644 (file)
@@ -76,9 +76,9 @@ abstract class AbstractCategoryListPage extends AbstractPage {
        public $templateName = 'categoryList';
        
        /**
-        * @see wcf\page\AbstractPage::assignVariables()
+        * @see wcf\page\AbstractPage::__run()
         */
-       public function __construct() {
+       public function __run() {
                $classNameParts = explode('\\', get_called_class());
                $className = array_pop($classNameParts);
                
@@ -90,7 +90,7 @@ abstract class AbstractCategoryListPage extends AbstractPage {
                        $this->editController = StringUtil::replace('ListPage', 'Edit', $className);
                }
                
-               parent::__construct();
+               parent::__run();
        }
        
        /**