Signed-off-by: Adam Serbinski <adam@serbinski.com>tags/v29.0.0beta6
@@ -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: |