diff options
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); } |