replace $path with '/files_trashbin/files/' . $file

This commit is contained in:
Georg Ehrke 2013-11-12 14:03:50 +01:00
parent feee4b865b
commit 90fac1f371
1 changed files with 1 additions and 1 deletions

View File

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