don't be pythonic

This commit is contained in:
Tobias Diekershoff 2022-11-07 11:09:34 +01:00
parent 379eeb49eb
commit 44af6e4bc2
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class Cron
Worker::add(Worker::PRIORITY_LOW, 'OptimizeTables');
}
foreach (User::getList($start=1, $limit=PHP_INT_MAX, $type='active') as $user) {
foreach (User::getList(1, PHP_INT_MAX, 'active') as $user) {
Worker::add(Worker::PRIORITY_LOW, 'CheckRelMeProfileLink', $user['uid']);
}