]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Cron.php
Use a constant for the avatar base path
[friendica.git] / src / Worker / Cron.php
index 210abfcecf6b747a08a24d1eafbc3ddfda6ed05a..01c54fed1845576124498faf43d02f712bb52eb9 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
  *
@@ -92,9 +92,6 @@ class Cron
                                Worker::add(PRIORITY_LOW, 'PullDirectory');
                        }
 
-                       // Delete all done workerqueue entries                  
-                       Worker::add(PRIORITY_LOW, 'CleanWorkerQueue');
-
                        // Clear cache entries
                        Worker::add(PRIORITY_LOW, 'ClearCache');
 
@@ -112,6 +109,8 @@ class Cron
 
                        Worker::add(PRIORITY_LOW, 'ExpireConversations');
 
+                       Worker::add(PRIORITY_LOW, 'RemoveUnusedTags');
+
                        Worker::add(PRIORITY_LOW, 'RemoveUnusedContacts');
 
                        Worker::add(PRIORITY_LOW, 'RemoveUnusedAvatars');