mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Update routine added
This commit is contained in:
parent
24e7556f85
commit
41c89abe68
3 changed files with 13 additions and 2 deletions
11
update.php
11
update.php
|
@ -1436,3 +1436,14 @@ function update_1554()
|
|||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
||||
function update_1556()
|
||||
{
|
||||
$users = DBA::select('user', ['uid'], ['verified' => true, 'blocked' => false, 'account_removed' => false, 'account_expired' => false]);
|
||||
while ($user = DBA::fetch($users)) {
|
||||
Worker::add(Worker::PRIORITY_LOW, 'ProfileUpdate', $user['uid']);
|
||||
}
|
||||
DBA::close($users);
|
||||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue