Less blocking clean up, adding of missing posts

This commit is contained in:
Michael 2021-03-03 07:07:29 +00:00
parent c740509a22
commit 7f4722ce6f
2 changed files with 91 additions and 25 deletions

View file

@ -101,7 +101,7 @@ class UpdateContacts
*/
private static function getContactsToUpdate(array $condition, array $ids = [], int $limit)
{
$contacts = DBA::select('contact', ['id'], $condition, ['limit' => $limit, 'order' => ['last-update']]);
$contacts = DBA::select('contact', ['id'], $condition, ['limit' => $limit]);
while ($contact = DBA::fetch($contacts)) {
$ids[$contact['id']] = $contact['id'];
}