Browse Source

remove unnecesary check

batch-query-test
Daniel Gomez Pan 9 years ago
parent
commit
5dcfb19112
  1. 2
      framework/console/Request.php

2
framework/console/Request.php

@ -73,9 +73,7 @@ class Request extends \yii\base\Request
}
} elseif (preg_match('/^-(\w+)(?:=(.*))?$/', $param, $matches)) {
$name = $matches[1];
if ($name !== Application::OPTION_APPCONFIG) {
$params['alias'][$name] = isset($matches[2]) ? $matches[2] : true;
}
} else {
$params[] = $param;
}

Loading…
Cancel
Save