Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
f52ba9c7
Commit
f52ba9c7
authored
Nov 27, 2014
by
Morris Jobke
Browse files
Merge pull request #12418 from owncloud/delete_previews
delete old previews
parents
a7482227
1a1b459a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/repair.php
View file @
f52ba9c7
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment