mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Port over Set to Hash usage.
This commit is contained in:
parent
0ef9adba93
commit
17bfbbb9df
2 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||
|
|
|
@ -1354,7 +1354,7 @@ class DboSource extends DataSource {
|
|||
}
|
||||
}
|
||||
}
|
||||
$result = Set::pushDiff($result, array($association => $merged));
|
||||
$result = Hash::mergeDiff($result, array($association => $merged));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue