From d0f876102dcbee0880264fa8a2826ae8b7bb2fea Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 4 Oct 2013 16:50:53 +0200 Subject: [PATCH] add comments --- apps/files_sharing/lib/updater.php | 5 +++++ 1 file changed, 5 insertions(+) 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']; -- 2.39.5