diff options
-rw-r--r-- | apps/files_sharing/lib/updater.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index e0f8fc5f0f6..e40cbc17dc1 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -57,6 +57,11 @@ class Shared_Updater { } } + /** + * @brief remove all shares for a given file if the file was deleted + * + * @param string $path + */ private static function removeShare($path) { $fileInfo = \OC\Files\Filesystem::getFileInfo($path); $fileSource = $fileInfo['fileid']; |