delete old previews
This commit is contained in:
parent
553188273c
commit
1a1b459ae8
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue