Commit be2f7ddc authored by memtkmcc's avatar memtkmcc

Merge remote-tracking branch 'origin/7.x-3.x' into 3.x.x-dev

parents b684e791 25259afc
......@@ -19,8 +19,12 @@ class Provision_Config_Drushrc_Alias extends Provision_Config_Drushrc {
function __construct($context, $data = array()) {
parent::__construct($context, $data);
$data['aliases'] = array_unique($data['aliases']);
$data['drush_aliases'] = array_unique($data['drush_aliases']);
if (is_array($data['aliases'])) {
$data['aliases'] = array_unique($data['aliases']);
}
if (is_array($data['drush_aliases'])) {
$data['drush_aliases'] = array_unique($data['drush_aliases']);
}
$this->data = array(
'aliasname' => ltrim($context, '@'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment