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:
@@ -128,12 +128,7 @@ class manager
|
||||
*/
|
||||
public function get_tasks()
|
||||
{
|
||||
$tasks = array();
|
||||
foreach ($this->tasks as $task)
|
||||
{
|
||||
$tasks[] = $task;
|
||||
}
|
||||
return $tasks;
|
||||
return $this->tasks;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user