Commit 874d0945 authored by colan's avatar colan Committed by helmo

Issue #2840531 by colan: Hostmaster alias array eventually leads to out-of-memory on Verify

parent c7a38f81
......@@ -18,6 +18,10 @@ 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']);
$this->data = array(
'aliasname' => ltrim($context, '@'),
'options' => $data,
......
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