diff options
Diffstat (limited to 'lib/private/Share/Share.php')
-rw-r--r-- | lib/private/Share/Share.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php index aed233692ed..0648e40f162 100644 --- a/lib/private/Share/Share.php +++ b/lib/private/Share/Share.php @@ -355,13 +355,13 @@ class Share extends Constants { // Pass all the vars we have for now, they may be useful $hookParams = [ - 'id' => $item['id'], - 'itemType' => $item['item_type'], - 'itemSource' => $item['item_source'], - 'shareType' => $shareType, - 'shareWith' => $shareWith, - 'itemParent' => $item['parent'], - 'uidOwner' => $item['uid_owner'], + 'id' => $item['id'], + 'itemType' => $item['item_type'], + 'itemSource' => $item['item_source'], + 'shareType' => $shareType, + 'shareWith' => $shareWith, + 'itemParent' => $item['parent'], + 'uidOwner' => $item['uid_owner'], ]; if ($item['item_type'] === 'file' || $item['item_type'] === 'folder') { $hookParams['fileSource'] = $item['file_source']; @@ -474,7 +474,7 @@ class Share extends Constants { */ public static function getItems($itemType, $item = null, $shareType = null, $shareWith = null, $uidOwner = null, $format = self::FORMAT_NONE, $parameters = null, $limit = -1, - $includeCollections = false, $itemShareWithBySource = false, $checkExpireDate = true) { + $includeCollections = false, $itemShareWithBySource = false, $checkExpireDate = true) { if (\OC::$server->getConfig()->getAppValue('core', 'shareapi_enabled', 'yes') != 'yes') { return []; } |