From b253d25e868a3142c3ffc5a608b6db3591ce4a25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 18 Jul 2009 06:57:40 +0000 Subject: [PATCH] No news controller, should be deprecated and decided in command init --- .../controller/console/class_ConsoleControllerResolver.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php index f241061c..39f2c672 100644 --- a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php +++ b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php @@ -137,11 +137,8 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro // ... and set it $this->setClassName($className); - } elseif ($this->getConfigInstance()->readConfig('page_with_news') == $this->getApplicationInstance()->getRequestInstance()->getRequestElement('command')) { - // Yes, display news in home then set default controller with news - $this->setClassName('ConsoleDefaultNewsController'); } else { - // No news at home page or non-news page + // No news at main command or non-news command $this->setClassName('ConsoleDefaultController'); } //* DEBUG: */ echo ", controller=".$this->getClassName()."
\n"; -- 2.39.5