mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Merge pull request #33558 from nextcloud/fix/use-bigger-slice-share-provider
Use bigger slice in share provider
This commit is contained in:
commit
15dc060551
1 changed files with 2 additions and 2 deletions
|
|
@ -954,8 +954,8 @@ class DefaultShareProvider implements IShareProvider {
|
|||
|
||||
$start = 0;
|
||||
while (true) {
|
||||
$groups = array_slice($allGroups, $start, 100);
|
||||
$start += 100;
|
||||
$groups = array_slice($allGroups, $start, 1000);
|
||||
$start += 1000;
|
||||
|
||||
if ($groups === []) {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue