Quellcode durchsuchen

Merge pull request #34223 from nextcloud/includeTags

includeTags -> include_tags
tags/v26.0.0beta1
blizzz vor 1 Jahr
Ursprung
Commit
2b854c1044
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      apps/files_sharing/lib/Controller/ShareAPIController.php

+ 2
- 2
apps/files_sharing/lib/Controller/ShareAPIController.php Datei anzeigen

@@ -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];

Laden…
Abbrechen
Speichern