]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/ExpirePosts.php
New field to show the day of the last activity
[friendica.git] / src / Worker / ExpirePosts.php
index 10325b32b375b14b02a68518df28b1234eae763d..6f75d1855910fba0e7f3d68e6bc600310d5506a4 100644 (file)
@@ -53,10 +53,10 @@ class ExpirePosts
                }
 
                // Set the expiry for origin posta
-               Worker::add(PRIORITY_LOW, 'Expire');
+               Worker::add(Worker::PRIORITY_LOW, 'Expire');
 
                // update nodeinfo data after everything is cleaned up
-               Worker::add(PRIORITY_LOW, 'NodeInfo');
+               Worker::add(Worker::PRIORITY_LOW, 'NodeInfo');
        }
 
        /**