mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 22:23:41 +00:00
We should quit on not getting data
This commit is contained in:
parent
74353e7f2d
commit
c0d7330b45
1 changed files with 4 additions and 0 deletions
|
@ -1387,6 +1387,10 @@ function pumpio_getallusers(App &$a, $uid)
|
|||
$success = false;
|
||||
}
|
||||
|
||||
if (empty($users)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($users->totalItems > count($users->items)) {
|
||||
$url = 'https://'.$hostname.'/api/user/'.$username.'/following?count='.$users->totalItems;
|
||||
|
||||
|
|
Loading…
Reference in a new issue