1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12602] Changes to respect coding style and to factorize code.

PHPBB3-12602
This commit is contained in:
Etienne Baroux
2014-06-03 10:42:50 +02:00
parent 71fb956498
commit 760aa9d402
3 changed files with 45 additions and 46 deletions

View File

@@ -128,12 +128,7 @@ class manager
*/
public function get_tasks()
{
$tasks = array();
foreach ($this->tasks as $task)
{
$tasks[] = $task;
}
return $tasks;
return $this->tasks;
}
/**