aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/cron/manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/cron/manager.php b/phpBB/phpbb/cron/manager.php
index df9bed4bd7..079ce8107e 100644
--- a/phpBB/phpbb/cron/manager.php
+++ b/phpBB/phpbb/cron/manager.php
@@ -72,8 +72,8 @@ class manager
* @return \phpbb\cron\task\wrapper|null
*/
public function find_one_ready_task()
- {
- shuffle($this->tasks);
+ {
+ shuffle($this->tasks);
foreach ($this->tasks as $task)
{
if ($task->is_ready())