replace $path with '/files_trashbin/files/' . $file
This commit is contained in:
parent
feee4b865b
commit
90fac1f371
|
@ -530,7 +530,7 @@ class Trashbin {
|
|||
$size += $view->filesize('/files_trashbin/files/' . $file);
|
||||
}
|
||||
$view->unlink('/files_trashbin/files/' . $file);
|
||||
\OC_Hook::emit('\OCP\Trashbin', 'delete', array('path' => $path));
|
||||
\OC_Hook::emit('\OCP\Trashbin', 'delete', array('path' => '/files_trashbin/files/' . $file));
|
||||
$trashbinSize -= $size;
|
||||
self::setTrashbinSize($user, $trashbinSize);
|
||||
|
||||
|
|
Loading…
Reference in New Issue