aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-04 16:50:53 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-04 16:50:53 +0200
commit401740166b6cea7a18ffb86c27c220a7606f14a1 (patch)
tree8be5a5b852255c553a7c0f38133fe1879c0e962a
parentaa660a347563c29cdfc0e4b5af8ff9f18e923a13 (diff)
downloadnextcloud-server-401740166b6cea7a18ffb86c27c220a7606f14a1.tar.gz
nextcloud-server-401740166b6cea7a18ffb86c27c220a7606f14a1.zip
add comments
-rw-r--r--apps/files_sharing/lib/updater.php5
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'];