]> git.mxchange.org Git - friendica.git/commitdiff
don't be pythonic
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Nov 2022 10:09:34 +0000 (11:09 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Nov 2022 10:19:33 +0000 (11:19 +0100)
src/Worker/Cron.php

index cd155dbbbe17b5e625533157737752445b4759c8..e0ef134a2327a43757421c96fa6ca0e058608e90 100644 (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']);
                        }