Move background job to PSR-4
This commit is contained in:
parent
3a716ae91c
commit
b72706b450
|
@ -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>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\Files_sharing\Lib;
|
||||
namespace OCA\Files_Sharing;
|
||||
|
||||
use OC\BackgroundJob\TimedJob;
|
||||
|
|
@ -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],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue