]> source.dussan.org Git - nextcloud-server.git/commitdiff
add comments
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 4 Oct 2013 14:50:53 +0000 (16:50 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 4 Oct 2013 14:50:53 +0000 (16:50 +0200)
apps/files_sharing/lib/updater.php

index e0f8fc5f0f633b0a4df0d49f95e602dbbb2ef04d..e40cbc17dc15d7b6ba9897c6b49bd87f0f432ddd 100644 (file)
@@ -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'];