mirror of https://github.com/nextcloud/server
ShareByMailProvider: getAccessList: recommended style changes
Signed-off-by: Adam Serbinski <adam@serbinski.com>
This commit is contained in:
parent
9c528d412c
commit
34ca6bd46a
|
@ -1108,7 +1108,7 @@ class ShareByMailProvider implements IShareProvider {
|
|||
));
|
||||
$cursor = $qb->executeQuery();
|
||||
|
||||
$mail = array();
|
||||
$mail = [];
|
||||
while ($row = $cursor->fetch()) {
|
||||
if ($currentAccess === false) {
|
||||
$mail[] = $row['share_with'];
|
||||
|
|
|
@ -1690,9 +1690,9 @@ class Manager implements IManager {
|
|||
* ],
|
||||
* 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:
|
||||
|
|
Loading…
Reference in New Issue