diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-04 09:03:09 -0800 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-04 09:03:09 -0800 |
commit | 8c64484c5e0d756629ada3e32d40ef450a02f9ff (patch) | |
tree | 3ce45abb09471a3cf74f767c4b10d35faa1f9b48 | |
parent | b3df526ef2b80b12a2803b29bf0d31c98a8fecdb (diff) | |
parent | ec2a9169b921179d8bd24c4338c65fd01ea0b535 (diff) | |
download | nextcloud-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.php | 2 |
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 } |