openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0d913486d6e7cf98c5977bc91ca1fbf0388103e7
parent 82680e9277f8dfa996bf7c4ff2f83f1e08591555
Author: Jan Dankert <devnull@localhost>
Date:   Sat, 30 Dec 2017 21:35:48 +0100

Exception hier nicht fangen, da an anderer Stelle behandelt.

Diffstat:
modules/cms-core/Dispatcher.class.php | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/modules/cms-core/Dispatcher.class.php b/modules/cms-core/Dispatcher.class.php @@ -267,13 +267,8 @@ class Dispatcher require_once(OR_ACTIONCLASSES_DIR . '/' . $actionClassName . '.class.php'); // Erzeugen der Action-Klasse - try { - /* @type $do \cms\action\Action */ - $do = new $actionClassNameWithNamespace; - } catch (ObjectNotFoundException $e) { - Logger::debug("Object not found: " . $e->__toString()); - throw $e; - } + /* @type $do \cms\action\Action */ + $do = new $actionClassNameWithNamespace; $do->actionClassName = $actionClassName; $do->actionName = $this->action;