Make PR #2897 pass unit tests

This commit is contained in:
Frederic Guillot
2016-12-20 20:11:17 -05:00
parent c1d07fe0ef
commit f5234a278e
2 changed files with 4 additions and 0 deletions

View File

@@ -48,8 +48,11 @@ class ExternalTaskManager
public function getProvidersList()
{
$providers = array_keys($this->providers);
if (count($providers)) {
return array_combine($providers, $providers);
}
return array();
}
}