aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron
diff options
context:
space:
mode:
authorEtienne Baroux <barouxe@phelma.grenoble-inp.fr>2014-06-03 10:42:50 +0200
committerEtienne Baroux <barouxe@phelma.grenoble-inp.fr>2014-06-03 10:42:50 +0200
commit760aa9d402aa300349b18ba785fa7ccc4b5fccf5 (patch)
treedebbb9f251afdae0d70d2e504b7cf5bfb4ad974f /phpBB/phpbb/cron
parent71fb956498ec882573205a0a074350372f528020 (diff)
downloadforums-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.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;
}
/**