Removed unused local var

This commit is contained in:
Steve Kamerman 2013-05-19 11:28:27 -04:00
commit 3b72e12491

View file

@ -32,7 +32,7 @@ class Env implements \PHPCI\Plugin
public function execute()
{
$success = true;
foreach ($this->env_vars as $key => $value) {
foreach ($this->env_vars as $value) {
// This allows the developer to specify env vars like " - FOO=bar" or " - FOO: bar"
$env_var = is_array($value)? key($value).'='.current($value): $value;