diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-10-12 12:59:13 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-17 00:09:52 -0600 |
commit | 5155a5288c90eb9ccfb432d051d95e3777653eb7 (patch) | |
tree | a201c7580974f275a525ea9ebbd2c37c33eb50a8 /apps/files_sharing/appinfo | |
parent | 5683365a2cc605cbaf41290e4cdfde7028f9014a (diff) | |
download | nextcloud-server-5155a5288c90eb9ccfb432d051d95e3777653eb7.tar.gz nextcloud-server-5155a5288c90eb9ccfb432d051d95e3777653eb7.zip |
Add CleanupRemoteStorages command
cleanup files, address review
Fix CleanupRemoteStoragesTest tests
Fix test expectation.
Added files count to check filecache deletion.
Sort by numeric id for deterministic test results
Removed precise order test and added storage check
Remove inaccurate removal message check which has a different order on
Oracle.
Added more checks to confirm that existing storages still exist.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/info.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/info.xml b/apps/files_sharing/appinfo/info.xml index e93bc99d540..e2a08d951ac 100644 --- a/apps/files_sharing/appinfo/info.xml +++ b/apps/files_sharing/appinfo/info.xml @@ -47,4 +47,8 @@ Turning the feature off removes shared files and folders on the server for all s <job>OCA\Files_Sharing\DeleteOrphanedSharesJob</job> <job>OCA\Files_Sharing\ExpireSharesJob</job> </background-jobs> + + <commands> + <command>OCA\Files_Sharing\Command\CleanupRemoteStorages</command> + </commands> </info> |