]> 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 93e0215f7fc71e350ce8b6249445a03b43f1a0b0..01c54fed1845576124498faf43d02f712bb52eb9 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
  *
@@ -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');
 
@@ -108,16 +105,11 @@ class Cron
 
                        Worker::add(PRIORITY_LOW, 'UpdatePhotoAlbums');
 
-                       // update nodeinfo data
-                       Worker::add(PRIORITY_LOW, 'NodeInfo');
-
-                       Worker::add(PRIORITY_LOW, 'Expire');
-
                        Worker::add(PRIORITY_LOW, 'ExpirePosts');
 
                        Worker::add(PRIORITY_LOW, 'ExpireConversations');
 
-                       Worker::add(PRIORITY_LOW, 'CleanItemUri');
+                       Worker::add(PRIORITY_LOW, 'RemoveUnusedTags');
 
                        Worker::add(PRIORITY_LOW, 'RemoveUnusedContacts');