diff options
author | Etienne Baroux <barouxe@phelma.grenoble-inp.fr> | 2014-06-03 10:42:50 +0200 |
---|---|---|
committer | Etienne Baroux <barouxe@phelma.grenoble-inp.fr> | 2014-06-03 10:42:50 +0200 |
commit | 760aa9d402aa300349b18ba785fa7ccc4b5fccf5 (patch) | |
tree | debbb9f251afdae0d70d2e504b7cf5bfb4ad974f /phpBB/phpbb/cron | |
parent | 71fb956498ec882573205a0a074350372f528020 (diff) | |
download | forums-760aa9d402aa300349b18ba785fa7ccc4b5fccf5.tar forums-760aa9d402aa300349b18ba785fa7ccc4b5fccf5.tar.gz forums-760aa9d402aa300349b18ba785fa7ccc4b5fccf5.tar.bz2 forums-760aa9d402aa300349b18ba785fa7ccc4b5fccf5.tar.xz forums-760aa9d402aa300349b18ba785fa7ccc4b5fccf5.zip |
[ticket/12602] Changes to respect coding style and to factorize code.
PHPBB3-12602
Diffstat (limited to 'phpBB/phpbb/cron')
-rw-r--r-- | phpBB/phpbb/cron/manager.php | 7 |
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; } /** |