summaryrefslogtreecommitdiffstats
path: root/lib/private/route/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/route/router.php')
-rw-r--r--lib/private/route/router.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/private/route/router.php b/lib/private/route/router.php
index 33669452f2d..48992366092 100644
--- a/lib/private/route/router.php
+++ b/lib/private/route/router.php
@@ -150,12 +150,6 @@ class Router implements IRouter {
\OC::$server->getEventLogger()->start('loadroutes' . $requestedApp, 'Loading Routes');
foreach ($routingFiles as $app => $file) {
if (!isset($this->loadedApps[$app])) {
- if (!\OC_App::isAppLoaded($app)) {
- // app MUST be loaded before app routes
- // try again next time loadRoutes() is called
- $this->loaded = false;
- continue;
- }
$this->loadedApps[$app] = true;
$this->useCollection($app);
$this->requireRouteFile($file, $app);