mirror of
https://github.com/friendica/friendica
synced 2025-04-30 11:04:29 +02:00
Fixes the score calculation concerning the relation-cid / cid interaction
This commit is contained in:
parent
41f3cbf727
commit
c1895e7f85
7 changed files with 200 additions and 156 deletions
|
@ -144,6 +144,13 @@ class Cron
|
|||
}
|
||||
DBA::close($users);
|
||||
|
||||
// Update contact relations for our users
|
||||
$users = DBA::select('user', ['uid'], ["NOT `account_expired` AND NOT `account_removed` AND `uid` > ?", 0]);
|
||||
while ($user = DBA::fetch($users)) {
|
||||
Worker::add(Worker::PRIORITY_LOW, 'ContactDiscoveryForUser', $user['uid']);
|
||||
}
|
||||
DBA::close($users);
|
||||
|
||||
// Resubscribe to relay servers
|
||||
Relay::reSubscribe();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue