mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Added functionality for adding new environments.
Changed feedback and controls of who tasks are run.
This commit is contained in:
+7
-1
@@ -29,7 +29,13 @@ class Mage_Config
|
||||
public function getHosts()
|
||||
{
|
||||
$config = $this->getEnvironment();
|
||||
return $config['hosts'];
|
||||
$hosts = array();
|
||||
|
||||
if (isset($config['hosts'])) {
|
||||
$hosts = (array) $config['hosts'];
|
||||
}
|
||||
|
||||
return $hosts;
|
||||
}
|
||||
|
||||
public function getTasks($type = 'tasks')
|
||||
|
||||
Reference in New Issue
Block a user