aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/install.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-29 14:16:50 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-29 14:16:50 +0100
commite8c449612da62d40fe6b1b9c1729b9d38bf978e0 (patch)
treebadfe2110331027f663bec8173f4d41d5354126b /apps/files/appinfo/install.php
parentb65a23ca4b41ee7ce6290eacde44caeb70a00b2e (diff)
parentf0caf4123220737aba2a5873f5bace84851a9f8a (diff)
downloadnextcloud-server-e8c449612da62d40fe6b1b9c1729b9d38bf978e0.tar.gz
nextcloud-server-e8c449612da62d40fe6b1b9c1729b9d38bf978e0.zip
Merge pull request #21990 from owncloud/systemtags-cleanup-orphans
Background cleanup job for system and user tag orphaned when file was deleted
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');