]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Cron.php
The "term" table is removed
[friendica.git] / src / Worker / Cron.php
index e22051cfc65eef23882f35911d65968f12821d90..a47193334ca4081bf6862b07dd244fddf9233044 100644 (file)
@@ -69,9 +69,6 @@ class Cron
                // Clear cache entries
                Worker::add(PRIORITY_LOW, "CronJobs", "clear_cache");
 
-               // Repair missing Diaspora values in contacts
-               Worker::add(PRIORITY_LOW, "CronJobs", "repair_diaspora");
-
                // Repair entries in the database
                Worker::add(PRIORITY_LOW, "CronJobs", "repair_database");
 
@@ -282,7 +279,7 @@ class Cron
                                }
                        }
 
-                       if (($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) {
+                       if ((($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) || ($contact['network'] == Protocol::MAIL)) {
                                $priority = PRIORITY_MEDIUM;
                        } elseif ($contact['archive']) {
                                $priority = PRIORITY_NEGLIGIBLE;