]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/CheckDeletedContacts.php
Use a constant for the avatar base path
[friendica.git] / src / Worker / CheckDeletedContacts.php
index e1aa57fc7fd38940da8f07918225a9d6730c89f8..4d1c3b6374638f0e316a245325931cceadecbe9d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @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, 'RemoveContact', $contact['id']);
+                       Worker::add(PRIORITY_MEDIUM, 'Contact\Remove', $contact['id']);
                }
                DBA::close($contacts);
        }