From: Roland Häder Date: Sat, 18 Jul 2009 06:57:40 +0000 (+0000) Subject: No news controller, should be deprecated and decided in command init X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b253d25e868a3142c3ffc5a608b6db3591ce4a25;p=core.git No news controller, should be deprecated and decided in command init --- 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";