mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
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
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