summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-03-04 11:44:09 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-03-04 11:44:09 -0500
commitec2a9169b921179d8bd24c4338c65fd01ea0b535 (patch)
treeb0d458db9b337b39475c542b5456408941594b01 /apps
parentef70978524ad0f00c3e5f03a489753547afee45a (diff)
downloadnextcloud-server-ec2a9169b921179d8bd24c4338c65fd01ea0b535.tar.gz
nextcloud-server-ec2a9169b921179d8bd24c4338c65fd01ea0b535.zip
Change remove() $user parameter to optional
Diffstat (limited to 'apps')
-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
}