summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-10-01 21:43:10 +0200
committerGitHub <noreply@github.com>2022-10-01 21:43:10 +0200
commit2b854c104433a8c38e2f8bd50d4af70526d06090 (patch)
treea552155cc6b097d08b5d5d67a3c5e5869d359c00 /apps
parentdd033f6ee72ad295fac5cd7a7275ef597d099313 (diff)
parent610bbaed683ff76d447739ee9089c57bade8bf2e (diff)
downloadnextcloud-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.php4
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];