fix deleting old previews after file changed
This commit is contained in:
parent
137d644963
commit
e5761d90ef
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ class Preview {
|
|||
if(substr($path, 0, 1) === '/') {
|
||||
$path = substr($path, 1);
|
||||
}
|
||||
$preview = new Preview(\OC_User::getUser(), 'files/', $path, 0, 0, false, true);
|
||||
$preview = new Preview(\OC_User::getUser(), 'files/', $path);
|
||||
$preview->deleteAllPreviews();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue