Skip to content

Commit

Permalink
ShareByMailProvider: getAccessList: recommended style changes
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Serbinski <[email protected]>
  • Loading branch information
ASerbinski committed Jan 23, 2023
1 parent 4ec157e commit 3191654
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/sharebymail/lib/ShareByMailProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ public function getAccessList($nodes, $currentAccess) {
));
$cursor = $qb->executeQuery();

$mail = array();
$mail = [];
while ($row = $cursor->fetch()) {
if ($currentAccess === false) {
$mail[] = $row['share_with'];
Expand Down
6 changes: 3 additions & 3 deletions lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1669,9 +1669,9 @@ public function userDeletedFromGroup($uid, $gid) {
* ],
* public => bool
* mail => [
* 'email1@maildomain1' => ['node_id' => 42, 'token' => 'aBcDeFg'],
* 'email2@maildomain2' => ['node_id' => 23, 'token' => 'hIjKlMn'],
* ]
* 'email1@maildomain1' => ['node_id' => 42, 'token' => 'aBcDeFg'],
* 'email2@maildomain2' => ['node_id' => 23, 'token' => 'hIjKlMn'],
* ]
* ]
*
* The access list to '/folder1/folder2/fileA' **without** $currentAccess is:
Expand Down

0 comments on commit 3191654

Please sign in to comment.