]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/UpdateContacts.php
Issue 10518: "last-activity" instead of "login_date"
[friendica.git] / src / Worker / UpdateContacts.php
index 7e352a27caf9f683bee524c8205cf8cf3993a5f4..ed4a9932f134aa3ed688e4292a4ebff809da73ec 100644 (file)
@@ -59,7 +59,7 @@ class UpdateContacts
                $contacts = DBA::select('contact', ['id'], $condition, ['order' => ['next-update'], 'limit' => $limit]);
                $count = 0;
                while ($contact = DBA::fetch($contacts)) {
-                       if (Worker::add(['priority' => PRIORITY_LOW, 'dont_fork' => true], "UpdateContact", $contact['id'])) {
+                       if (Worker::add(['priority' => Worker::PRIORITY_LOW, 'dont_fork' => true], "UpdateContact", $contact['id'])) {
                                ++$count;
                        }
                        Worker::coolDown();