]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/CheckDeletedContacts.php
Update src/Module/Magic.php
[friendica.git] / src / Worker / CheckDeletedContacts.php
index 385cdc12d5ec5495cbdd87ec7d691862e9b6f89d..b6f80f4339518fa4a149771e0aba25ad583cfe11 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, 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);
        }