summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/appinfo/info.xml4
-rw-r--r--apps/files_sharing/lib/DeleteOrphanedSharesJob.php (renamed from apps/files_sharing/lib/deleteorphanedsharesjob.php)2
-rw-r--r--lib/private/Repair/DropOldJobs.php2
3 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_sharing/appinfo/info.xml b/apps/files_sharing/appinfo/info.xml
index f6e3053961f..c1f98aa94ac 100644
--- a/apps/files_sharing/appinfo/info.xml
+++ b/apps/files_sharing/appinfo/info.xml
@@ -24,7 +24,7 @@ Turning the feature off removes shared files and folders on the server for all s
<namespace>Files_Sharing</namespace>
<background-jobs>
- <job>OCA\Files_sharing\Lib\DeleteOrphanedSharesJob</job>
- <job>OCA\Files_sharing\ExpireSharesJob</job>
+ <job>OCA\Files_Sharing\DeleteOrphanedSharesJob</job>
+ <job>OCA\Files_Sharing\ExpireSharesJob</job>
</background-jobs>
</info>
diff --git a/apps/files_sharing/lib/deleteorphanedsharesjob.php b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php
index 72bf6b222e7..2678d46661d 100644
--- a/apps/files_sharing/lib/deleteorphanedsharesjob.php
+++ b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php
@@ -20,7 +20,7 @@
*
*/
-namespace OCA\Files_sharing\Lib;
+namespace OCA\Files_Sharing;
use OC\BackgroundJob\TimedJob;
diff --git a/lib/private/Repair/DropOldJobs.php b/lib/private/Repair/DropOldJobs.php
index 489b89d0869..c040aa03961 100644
--- a/lib/private/Repair/DropOldJobs.php
+++ b/lib/private/Repair/DropOldJobs.php
@@ -73,6 +73,8 @@ class DropOldJobs implements IRepairStep {
['class' => 'OC_Cache_FileGlobalGC', 'arguments' => null],
['class' => 'OC\Cache\FileGlobalGC', 'arguments' => null],
['class' => 'OCA\Files\BackgroundJob\DeleteOrphanedTagsJob', 'arguments' => null],
+ ['class' => 'OCA\Files_sharing\Lib\DeleteOrphanedSharesJob', 'arguments' => null],
+ ['class' => 'OCA\Files_sharing\ExpireSharesJob', 'arguments' => null],
];
}