]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change remove() $user parameter to optional
authorMichael Gapczynski <mtgap@owncloud.com>
Mon, 4 Mar 2013 16:44:09 +0000 (11:44 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Mon, 4 Mar 2013 16:44:09 +0000 (11:44 -0500)
apps/files_sharing/lib/permissions.php

index 72c1ec96c46a1fe4861f37cdb482fd6853be0a99..6747faa4d4313269cbf1649774e625cbfd1f26f5 100644 (file)
@@ -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
        }