summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2017-05-26 10:43:08 +0200
committerGitHub <noreply@github.com>2017-05-26 10:43:08 +0200
commitde953b4d749cfd9d2a792d106278b00476cd6286 (patch)
tree443060c5c4b0800833a874543eda9bcdb33552de /lib
parentc1925ddfd03c6e12874137fb1ba497aad8fc0c41 (diff)
parent3f29c559145e3a8bd695ea910dd89969ca2258dc (diff)
downloadnextcloud-server-de953b4d749cfd9d2a792d106278b00476cd6286.tar.gz
nextcloud-server-de953b4d749cfd9d2a792d106278b00476cd6286.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/app.php3
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']);
}