delete old previews

This commit is contained in:
Georg Ehrke 2014-11-25 15:42:02 +01:00
parent 553188273c
commit 1a1b459ae8

View file

@ -101,7 +101,7 @@ class Repair extends BasicEmitter {
//only 7.0.0 through 7.0.2 generated broken previews
$currentVersion = \OC::$server->getConfig()->getSystemValue('version');
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();
}