aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/cron')
-rw-r--r--phpBB/phpbb/cron/manager.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/phpbb/cron/manager.php b/phpBB/phpbb/cron/manager.php
index 77dfcff471..f04f063228 100644
--- a/phpBB/phpbb/cron/manager.php
+++ b/phpBB/phpbb/cron/manager.php
@@ -128,12 +128,7 @@ class manager
*/
public function get_tasks()
{
- $tasks = array();
- foreach ($this->tasks as $task)
- {
- $tasks[] = $task;
- }
- return $tasks;
+ return $this->tasks;
}
/**