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 Files_Sharing - OCA\Files_sharing\Lib\DeleteOrphanedSharesJob - OCA\Files_sharing\ExpireSharesJob + OCA\Files_Sharing\DeleteOrphanedSharesJob + OCA\Files_Sharing\ExpireSharesJob diff --git a/apps/files_sharing/lib/deleteorphanedsharesjob.php b/apps/files_sharing/lib/DeleteOrphanedSharesJob.php similarity index 98% rename from apps/files_sharing/lib/deleteorphanedsharesjob.php rename to 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], ]; }