From: Paul Mehrer
Date: Mon, 7 Aug 2017 13:39:18 +0000 (+0200)
Subject: Tinebase_Core - remove redundant code
X-Git-Tag: 2017.08.1~13^2~3
X-Git-Url: http://git.tine20.org/?p=tine20;a=commitdiff_plain;h=04b34791b8aa78231a8620a2d83d6f25f9c9dbbc
Tinebase_Core - remove redundant code
Change-Id: I2511c78c6600d171a7dba33ecf47126164579424
Reviewed-on: http://gerrit.tine20.com/customers/5410
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Paul Mehrer
Tested-by: Paul Mehrer
---
diff --git a/tine20/Tinebase/Core.php b/tine20/Tinebase/Core.php
index 5833e1b..0fc80d5 100644
--- a/tine20/Tinebase/Core.php
+++ b/tine20/Tinebase/Core.php
@@ -391,9 +391,6 @@ class Tinebase_Core
throw new Tinebase_Exception_NotFound('No Application Controller found (checked class ' . $controllerNameModel . ')!');
} else {
$controllerName = $controllerNameModel;
- if (! class_exists($controllerName)) {
- throw new Tinebase_Exception_NotFound('No Application Controller found (checked class ' . $controllerName . ')!');
- }
}
} else if (! class_exists($controllerName)) {
if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__