update cache after move to trash
This commit is contained in:
parent
b70e1ffc6d
commit
a0854b36f0
1 changed files with 2 additions and 0 deletions
|
@ -208,6 +208,8 @@ class Trashbin {
|
|||
return false;
|
||||
}
|
||||
|
||||
$view->getUpdater()->rename('/files/' . $file_path, $trashPath);
|
||||
|
||||
if ($sizeOfAddedFiles !== false) {
|
||||
$size = $sizeOfAddedFiles;
|
||||
$query = \OC_DB::prepare("INSERT INTO `*PREFIX*files_trash` (`id`,`timestamp`,`location`,`user`) VALUES (?,?,?,?)");
|
||||
|
|
Loading…
Reference in a new issue