summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-04 09:03:09 -0800
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-04 09:03:09 -0800
commit8c64484c5e0d756629ada3e32d40ef450a02f9ff (patch)
tree3ce45abb09471a3cf74f767c4b10d35faa1f9b48
parentb3df526ef2b80b12a2803b29bf0d31c98a8fecdb (diff)
parentec2a9169b921179d8bd24c4338c65fd01ea0b535 (diff)
downloadnextcloud-server-8c64484c5e0d756629ada3e32d40ef450a02f9ff.tar.gz
nextcloud-server-8c64484c5e0d756629ada3e32d40ef450a02f9ff.zip
Merge pull request #2082 from owncloud/fix-permissions-class
Change remove() $user parameter to optional
-rw-r--r--apps/files_sharing/lib/permissions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/permissions.php b/apps/files_sharing/lib/permissions.php
index 72c1ec96c46..6747faa4d43 100644
--- a/apps/files_sharing/lib/permissions.php
+++ b/apps/files_sharing/lib/permissions.php
@@ -76,7 +76,7 @@ class Shared_Permissions extends Permissions {
* @param int $fileId
* @param string $user
*/
- public function remove($fileId, $user) {
+ public function remove($fileId, $user = null) {
// Not a valid action for Shared Permissions
}