Resubscribe to relay servers

This commit is contained in:
Michael 2022-05-24 07:02:42 +00:00
parent a1871756ee
commit b1a2de5cb5
3 changed files with 72 additions and 3 deletions

View file

@ -27,6 +27,7 @@ use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Tag;
use Friendica\Protocol\Relay;
class Cron
{
@ -125,6 +126,9 @@ class Cron
}
DI::config()->set('system', 'last_cron_daily', time());
// Resubscribe to relay servers
Relay::reSubscribe();
}
Logger::notice('end');