]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/CheckDeletedContacts.php
Merge remote-tracking branch 'upstream/develop' into reduce-update-contacts
[friendica.git] / src / Worker / CheckDeletedContacts.php
index 385cdc12d5ec5495cbdd87ec7d691862e9b6f89d..f612cd2ee96efe88c3e5cb89c2df38a86f6d3154 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -34,7 +34,7 @@ class CheckDeletedContacts
        {
                $contacts = DBA::select('contact', ['id'], ['deleted' => true]);
                while ($contact = DBA::fetch($contacts)) {
-                       Worker::add(PRIORITY_MEDIUM, 'Contact\Remove', $contact['id']);
+                       Worker::add(Worker::PRIORITY_MEDIUM, 'Contact\Remove', $contact['id']);
                }
                DBA::close($contacts);
        }