diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-29 14:16:50 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-29 14:16:50 +0100 |
commit | e8c449612da62d40fe6b1b9c1729b9d38bf978e0 (patch) | |
tree | badfe2110331027f663bec8173f4d41d5354126b /apps/files/appinfo/install.php | |
parent | b65a23ca4b41ee7ce6290eacde44caeb70a00b2e (diff) | |
parent | f0caf4123220737aba2a5873f5bace84851a9f8a (diff) | |
download | nextcloud-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.php | 6 |
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'); |