From: Bjoern Schiessle Date: Fri, 4 Oct 2013 14:50:53 +0000 (+0200) Subject: add comments X-Git-Tag: v6.0.0alpha2~78^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=401740166b6cea7a18ffb86c27c220a7606f14a1;p=nextcloud-server.git add comments --- 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'];