We should quit on not getting data

This commit is contained in:
Michael 2018-08-01 19:14:28 +00:00
parent 74353e7f2d
commit c0d7330b45

View file

@ -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;