diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-26 17:46:42 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-02-06 12:32:48 +0100 |
commit | 31313178a56d6c173a45e7e89546da1f5d43052a (patch) | |
tree | bb3bdad3fb042a98ffcf65c9f1f93a8e1ea79cc7 /lib/private/Repair.php | |
parent | b2068704e7ccd269a1af4dc6b32343fa78cd221c (diff) | |
download | nextcloud-server-31313178a56d6c173a45e7e89546da1f5d43052a.tar.gz nextcloud-server-31313178a56d6c173a45e7e89546da1f5d43052a.zip |
Add repair step to clear frontend related caches
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 8562465aad3..3ddcf0accec 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -33,6 +33,7 @@ namespace OC; use OC\App\AppStore\Bundles\BundleFetcher; use OC\Files\AppData\Factory; use OC\Repair\CleanTags; +use OC\Repair\ClearFrontendCaches; use OC\Repair\Collation; use OC\Repair\MoveUpdaterStepFile; use OC\Repair\NC11\CleanPreviews; @@ -50,6 +51,8 @@ use OC\Repair\NC13\RepairInvalidPaths; use OC\Repair\SqliteAutoincrement; use OC\Repair\RepairMimeTypes; use OC\Repair\RepairInvalidShares; +use OC\Template\JSCombiner; +use OC\Template\SCSSCacher; use OCP\AppFramework\QueryException; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -152,6 +155,7 @@ class Repair implements IOutput{ new RepairInvalidPaths(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()), new RepairIdentityProofKeyFolders(\OC::$server->getConfig(), \OC::$server->query(Factory::class), \OC::$server->getRootFolder()), new AddLogRotateJob(\OC::$server->getJobList()), + new ClearFrontendCaches(\OC::$server->getMemCacheFactory(), \OC::$server->query(SCSSCacher::class), \OC::$server->query(JSCombiner::class)) ]; } |