fix deleting old previews after file changed

This commit is contained in:
Georg Ehrke 2013-08-14 20:49:47 +02:00
parent 137d644963
commit e5761d90ef

View file

@ -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();
}