Commit f52ba9c7 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #12418 from owncloud/delete_previews

delete old previews
parents a7482227 1a1b459a
......@@ -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();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment