diff options
Diffstat (limited to 'lib/private/Repair/AssetCache.php')
-rw-r--r-- | lib/private/Repair/AssetCache.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/private/Repair/AssetCache.php b/lib/private/Repair/AssetCache.php index e4787bab95f..84c22d4d8a2 100644 --- a/lib/private/Repair/AssetCache.php +++ b/lib/private/Repair/AssetCache.php @@ -29,14 +29,10 @@ use OCP\Migration\IRepairStep; class AssetCache implements IRepairStep { public function getName() { - return 'Clear asset cache after upgrade'; + return 'Remove asset cache'; } public function run(IOutput $output) { - if (!\OC_Template::isAssetPipelineEnabled()) { - $output->info('Asset pipeline disabled -> nothing to do'); - return; - } $assetDir = \OC::$server->getConfig()->getSystemValue('assetdirectory', \OC::$SERVERROOT) . '/assets'; \OC_Helper::rmdirr($assetDir, false); $output->info('Asset cache cleared.'); |