delete old previews

This commit is contained in:
Georg Ehrke 2014-11-25 15:42:02 +01:00
parent 553188273c
commit 1a1b459ae8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Repair extends BasicEmitter {
//only 7.0.0 through 7.0.2 generated broken previews //only 7.0.0 through 7.0.2 generated broken previews
$currentVersion = \OC::$server->getConfig()->getSystemValue('version'); $currentVersion = \OC::$server->getConfig()->getSystemValue('version');
if (version_compare($currentVersion, '7.0.0.0', '>=') && if (version_compare($currentVersion, '7.0.0.0', '>=') &&
version_compare($currentVersion, '7.0.2.2', '<=')) { version_compare($currentVersion, '7.0.3.4', '<=')) {
$steps[] = new \OC\Repair\Preview(); $steps[] = new \OC\Repair\Preview();
} }