diff options
Diffstat (limited to 'lib/private/legacy/app.php')
-rw-r--r-- | lib/private/legacy/app.php | 3 |
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']); } |