summaryrefslogtreecommitdiffstats
path: root/lib/private/Installer.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-05-02 15:26:12 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-03 08:58:12 +0200
commit71fa0a75bf152b763fb3ee86dc5102b0c29d27b5 (patch)
treef3b347219d96e28331083fe33cf3b709119f5d48 /lib/private/Installer.php
parentadf7e7295ed94a04bd9fcb056b81e664b45b4f07 (diff)
downloadnextcloud-server-71fa0a75bf152b763fb3ee86dc5102b0c29d27b5.tar.gz
nextcloud-server-71fa0a75bf152b763fb3ee86dc5102b0c29d27b5.zip
Allow declaration of background jobs in info.xml
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r--lib/private/Installer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php
index 8ecc92e134b..edc6306b8f1 100644
--- a/lib/private/Installer.php
+++ b/lib/private/Installer.php
@@ -133,6 +133,8 @@ class Installer {
}
}
+ \OC_App::setupBackgroundJobs($info['background-jobs']);
+
//run appinfo/install.php
if((!isset($data['noinstall']) or $data['noinstall']==false)) {
self::includeAppScript($basedir . '/appinfo/install.php');
@@ -569,6 +571,7 @@ class Installer {
if (is_null($info)) {
return false;
}
+ \OC_App::setupBackgroundJobs($info['background-jobs']);
OC_App::executeRepairSteps($app, $info['repair-steps']['install']);