diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-10-01 21:43:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 21:43:10 +0200 |
commit | 2b854c104433a8c38e2f8bd50d4af70526d06090 (patch) | |
tree | a552155cc6b097d08b5d5d67a3c5e5869d359c00 /apps | |
parent | dd033f6ee72ad295fac5cd7a7275ef597d099313 (diff) | |
parent | 610bbaed683ff76d447739ee9089c57bade8bf2e (diff) | |
download | nextcloud-server-2b854c104433a8c38e2f8bd50d4af70526d06090.tar.gz nextcloud-server-2b854c104433a8c38e2f8bd50d4af70526d06090.zip |
Merge pull request #34223 from nextcloud/includeTags
includeTags -> include_tags
Diffstat (limited to 'apps')
-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]; |