From: Tobias Diekershoff Date: Mon, 7 Nov 2022 10:09:34 +0000 (+0100) Subject: don't be pythonic X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=44af6e4bc2f77b1187b72673dda48416844b9b03;p=friendica.git don't be pythonic --- diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index cd155dbbbe..e0ef134a23 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -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']); }