diff options
author | Steven Bühner <buehner@me.com> | 2016-08-30 11:43:50 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-09-20 12:06:56 +0200 |
commit | 55fe036dbf953c8cc41888c6e5809f5604249b92 (patch) | |
tree | 8e75de55fee6a874d5b72e1a4cdd8db5448e6c35 /apps/files_trashbin/lib | |
parent | a41541ae22e6d9c946db32afdefdfeaf977c7263 (diff) | |
download | nextcloud-server-55fe036dbf953c8cc41888c6e5809f5604249b92.tar.gz nextcloud-server-55fe036dbf953c8cc41888c6e5809f5604249b92.zip |
Take the same path (with /USERNAME/ as base) for every emmited hooks
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r-- | apps/files_trashbin/lib/Trashbin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index 657cf79f877..4a4ff190edf 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -473,7 +473,7 @@ class Trashbin { $fileInfos = $view->getDirectoryContent('files_trashbin/files'); foreach($fileInfos as $fileInfo){ - $path = $view->getRelativePath($fileInfo->getPath()); + $path = $view->getRelativePath($fileInfo->getPath()); self::emitTrashbinPreDelete($path); } @@ -482,7 +482,7 @@ class Trashbin { $query->execute(array($user)); foreach($fileInfos as $fileInfo){ - $path = $fileInfo->getPath(); + $path = $view->getRelativePath($fileInfo->getPath()); self::emitTrashbinPostDelete($path); } |