]> source.dussan.org Git - nextcloud-server.git/commit
Allow userId to be null 11939/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 4 Oct 2018 11:04:58 +0000 (13:04 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 19 Oct 2018 14:25:14 +0000 (16:25 +0200)
commit5c8719aa0345d56e7a60c30068a53d953175eccb
tree1fbfb830f6efc916f93dfad15185d5abeefba240
parent61fe59795f4ae6ac4e128164c8343d1e7de5e1e3
Allow userId to be null

Fixes #10852

A quick hack. Still ensures some type safety however now also accepts
null. Else we'd need to add a whole new layer of middlewares.

This can only happen when a guest user wants to access a controller that
requries the user_id.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_sharing/lib/Controller/ShareAPIController.php