mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
Resubscribe to relay servers
This commit is contained in:
parent
a1871756ee
commit
b1a2de5cb5
3 changed files with 72 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue