summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/permissions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/permissions.php')
-rw-r--r--apps/files_sharing/lib/permissions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/permissions.php b/apps/files_sharing/lib/permissions.php
index 1dc53428a7f..31b7ac361ae 100644
--- a/apps/files_sharing/lib/permissions.php
+++ b/apps/files_sharing/lib/permissions.php
@@ -42,6 +42,10 @@ class Shared_Permissions extends Permissions {
}
}
+ /**
+ * @param integer $fileId
+ * @param string $user
+ */
private function getFile($fileId, $user) {
if ($fileId == -1) {
return \OCP\PERMISSION_READ;