// 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");
}
}
- 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;