summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-08-21 09:12:42 +0200
committerJoas Schilling <coding@schilljs.com>2019-08-21 09:16:14 +0200
commit23bd4c127d7b7be9cc361da8183aefddf96d1be6 (patch)
treed967b4211b590a06bf9f58a3963553a89d0d52d9 /lib/private/Repair.php
parentb53283fcb74817a2f840ba9158314875d536e29c (diff)
downloadnextcloud-server-23bd4c127d7b7be9cc361da8183aefddf96d1be6.tar.gz
nextcloud-server-23bd4c127d7b7be9cc361da8183aefddf96d1be6.zip
Add a repair step to clear the projects access cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 35e6856e429..70a15cb0442 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -42,6 +42,7 @@ use OC\Repair\NC13\AddLogRotateJob;
use OC\Repair\NC14\AddPreviewBackgroundCleanupJob;
use OC\Repair\NC16\AddClenupLoginFlowV2BackgroundJob;
use OC\Repair\NC16\CleanupCardDAVPhotoCache;
+use OC\Repair\NC16\ClearCollectionsAccessCache;
use OC\Repair\NC16\RemoveCypressFiles;
use OC\Repair\NC17\SetEnterpriseLogo;
use OC\Repair\NC17\SwitchUpdateChannel;
@@ -56,6 +57,7 @@ use OC\Template\JSCombiner;
use OC\Template\SCSSCacher;
use OCP\AppFramework\QueryException;
use OCP\AppFramework\Utility\ITimeFactory;
+use OCP\Collaboration\Resources\IManager;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -150,6 +152,7 @@ class Repair implements IOutput {
new CleanupCardDAVPhotoCache(\OC::$server->getConfig(), \OC::$server->getAppDataDir('dav-photocache'), \OC::$server->getLogger()),
new AddClenupLoginFlowV2BackgroundJob(\OC::$server->getJobList()),
new RemoveLinkShares(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig(), \OC::$server->getGroupManager(), \OC::$server->getNotificationManager(), \OC::$server->query(ITimeFactory::class)),
+ new ClearCollectionsAccessCache(\OC::$server->getConfig(), \OC::$server->query(IManager::class)),
\OC::$server->query(RemoveCypressFiles::class),
\OC::$server->query(SwitchUpdateChannel::class),
\OC::$server->query(SetEnterpriseLogo::class),