summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-04 15:35:22 +0200
committerGitHub <noreply@github.com>2018-10-04 15:35:22 +0200
commitbfa870d8034ec8b16c4c92924def4c9534ddc6fb (patch)
tree5086878006a67bedc8d1ef205bca6d93bde13cef
parente387d90b299ee44e868b2ae146eaf7965d91f215 (diff)
parent13b1cd5cb83e6448df2410ebb3c164befb1fe9d2 (diff)
downloadnextcloud-server-bfa870d8034ec8b16c4c92924def4c9534ddc6fb.tar.gz
nextcloud-server-bfa870d8034ec8b16c4c92924def4c9534ddc6fb.zip
Merge pull request #11611 from nextcloud/fix/10852
Allow userId to be null
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index 461c0e47320..308e7bbb742 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -113,7 +113,7 @@ class ShareAPIController extends OCSController {
IUserManager $userManager,
IRootFolder $rootFolder,
IURLGenerator $urlGenerator,
- string $userId,
+ string $userId = null,
IL10N $l10n,
IConfig $config,
IAppManager $appManager,