Port over Set to Hash usage.

This commit is contained in:
mark_story 2012-03-11 22:57:54 -04:00
parent 0ef9adba93
commit 17bfbbb9df
2 changed files with 2 additions and 2 deletions

View file

@ -385,7 +385,7 @@ class I18n {
$this->_domains[$domain][$this->_lang][$this->category]["%plural-c"] = $switch;
unset($this->_domains[$domain][$this->_lang][$this->category]["%po-header"]);
}
$this->_domains = Set::pushDiff($this->_domains, $merge);
$this->_domains = Hash::mergeDiff($this->_domains, $merge);
if (isset($this->_domains[$domain][$this->_lang][$this->category][null])) {
unset($this->_domains[$domain][$this->_lang][$this->category][null]);

View file

@ -1354,7 +1354,7 @@ class DboSource extends DataSource {
}
}
}
$result = Set::pushDiff($result, array($association => $merged));
$result = Hash::mergeDiff($result, array($association => $merged));
}
}