Merge pull request #5127 from nextcloud/backport-5090-fixing-missing-background-jobs-on-app-update
[stable12] Register the autoloading earlier so we can load the background jobs
This commit is contained in:
commit
bb583580d7
|
@ -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 New Issue