Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Register the autoloading earlier so we can load the background jobs
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed May 26, 2017
commit 628a98ed6232b5eb0788d8ef3dbebcd243e16f5a
3 changes: 1 addition & 2 deletions lib/private/legacy/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1054,10 +1054,9 @@ public static function updateApp($appId) {
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']);
}

Expand Down