From: Joas Schilling Date: Wed, 24 May 2017 10:58:10 +0000 (+0200) Subject: Register the autoloading earlier so we can load the background jobs X-Git-Tag: v12.0.1RC1~124^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=628a98ed6232b5eb0788d8ef3dbebcd243e16f5a;p=nextcloud-server.git Register the autoloading earlier so we can load the background jobs Signed-off-by: Joas Schilling --- 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']); }