Merge pull request #5090 from nextcloud/try-fixing-missing-background-jobs-on-app-update
Register the autoloading earlier so we can load the background jobs
This commit is contained in:
commit
de953b4d74
1 changed files with 1 additions and 2 deletions
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue