aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-24 12:58:10 +0200
committerJoas Schilling <coding@schilljs.com>2017-05-24 12:58:10 +0200
commit3f29c559145e3a8bd695ea910dd89969ca2258dc (patch)
tree7527dcb4db39500e322e3999e26f7f3c0358c8c0 /lib/private
parent6cc26efbc5329066cfd0a197023d2772311c85c0 (diff)
downloadnextcloud-server-3f29c559145e3a8bd695ea910dd89969ca2258dc.tar.gz
nextcloud-server-3f29c559145e3a8bd695ea910dd89969ca2258dc.zip
Register the autoloading earlier so we can load the background jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/app.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index 2e9e97d5bd7..1bdbd1e2a83 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -1054,10 +1054,9 @@ class OC_App {
self::loadApp($appId);
include $appPath . '/appinfo/update.php';
}
+ self::registerAutoloading($appId, $appPath);
self::setupBackgroundJobs($appData['background-jobs']);
if(isset($appData['settings']) && is_array($appData['settings'])) {
- $appPath = self::getAppPath($appId);
- self::registerAutoloading($appId, $appPath);
\OC::$server->getSettingsManager()->setupSettings($appData['settings']);
}