diff options
author | tobiasKaminsky <tobias@kaminsky.me> | 2022-09-23 15:51:55 +0200 |
---|---|---|
committer | Vincent Petry (Rebase PR Action) <PVince81@users.noreply.github.com> | 2022-09-28 13:17:56 +0000 |
commit | 610bbaed683ff76d447739ee9089c57bade8bf2e (patch) | |
tree | de3f923ba8719f353371d43792400fbdc9e7716a /apps/files_sharing/lib/Controller | |
parent | 20b75480d0cbeb004b244bd3777d703821adeb1d (diff) | |
download | nextcloud-server-610bbaed683ff76d447739ee9089c57bade8bf2e.tar.gz nextcloud-server-610bbaed683ff76d447739ee9089c57bade8bf2e.zip |
includeTags -> include_tags
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareAPIController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index d795318cb8b..00f12ea7779 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -370,7 +370,7 @@ class ShareAPIController extends OCSController { * @return DataResponse * @throws OCSNotFoundException */ - public function getShare(string $id, bool $includeTags = false): DataResponse { + public function getShare(string $id, bool $include_tags = false): DataResponse { try { $share = $this->getShareById($id); } catch (ShareNotFound $e) { @@ -381,7 +381,7 @@ class ShareAPIController extends OCSController { if ($this->canAccessShare($share)) { $share = $this->formatShare($share); - if ($includeTags) { + if ($include_tags) { $share = Helper::populateTags([$share], 'file_source', \OC::$server->getTagManager()); } else { $share = [$share]; |