]> git.mxchange.org Git - friendica.git/blobdiff - include/cron.php
dont use the entire url as option
[friendica.git] / include / cron.php
index ccac49b637b7c901ed8acf81a74df795c7bc540e..8842d3bdfa6eabea99bf4a21cb2b1675d4cadad8 100644 (file)
@@ -42,12 +42,6 @@ function cron_run(&$argv, &$argc){
        // Expire and remove user entries
        proc_run(PRIORITY_MEDIUM, "include/cronjobs.php", "expire_and_remove_users");
 
-       // Check OStatus conversations
-       proc_run(PRIORITY_MEDIUM, "include/cronjobs.php", "ostatus_mentions");
-
-       // Check every conversation
-       proc_run(PRIORITY_MEDIUM, "include/cronjobs.php", "ostatus_conversations");
-
        // Call possible post update functions
        proc_run(PRIORITY_LOW, "include/cronjobs.php", "post_update");
 
@@ -85,6 +79,9 @@ function cron_run(&$argv, &$argc){
 
                // Delete all done workerqueue entries
                dba::delete('workerqueue', array('`done` AND `executed` < UTC_TIMESTAMP() - INTERVAL 12 HOUR'));
+
+               // check upstream version?
+               Worker::add(PRIORITY_LOW, 'checkversion');
        }
 
        // Poll contacts