aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo/install.php')
-rw-r--r--apps/files/appinfo/install.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files/appinfo/install.php b/apps/files/appinfo/install.php
index 485a5f2976d..b9a893d1ee8 100644
--- a/apps/files/appinfo/install.php
+++ b/apps/files/appinfo/install.php
@@ -20,7 +20,5 @@
*/
// Cron job for scanning user storages
-$jobList = \OC::$server->getJobList();
-$job = 'OCA\Files\BackgroundJob\ScanFiles';
-\OC::$server->getJobList()->add($job);
-
+\OC::$server->getJobList()->add('OCA\Files\BackgroundJob\ScanFiles');
+\OC::$server->getJobList()->add('OCA\Files\BackgroundJob\DeleteOrphanedTagsJob');