diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-04 16:50:53 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-04 16:50:53 +0200 |
commit | 401740166b6cea7a18ffb86c27c220a7606f14a1 (patch) | |
tree | 8be5a5b852255c553a7c0f38133fe1879c0e962a | |
parent | aa660a347563c29cdfc0e4b5af8ff9f18e923a13 (diff) | |
download | nextcloud-server-401740166b6cea7a18ffb86c27c220a7606f14a1.tar.gz nextcloud-server-401740166b6cea7a18ffb86c27c220a7606f14a1.zip |
add comments
-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']; |