diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-11-12 14:03:50 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-11-12 14:03:50 +0100 |
commit | 90fac1f3712e54e3bccbad87095b04afb0f9d95a (patch) | |
tree | 54d1859a5f9750ef9029c8a796c389051bfc0e3c /apps | |
parent | feee4b865b5dc700d5380af30fc0a68949bb296c (diff) | |
download | nextcloud-server-90fac1f3712e54e3bccbad87095b04afb0f9d95a.tar.gz nextcloud-server-90fac1f3712e54e3bccbad87095b04afb0f9d95a.zip |
replace $path with '/files_trashbin/files/' . $file
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 4e314d62d01..f419f515f1e 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -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); |