From 17bfbbb9df09594a5fee5500dadeaa17182fc57e Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 11 Mar 2012 22:57:54 -0400 Subject: [PATCH] Port over Set to Hash usage. --- lib/Cake/I18n/I18n.php | 2 +- lib/Cake/Model/Datasource/DboSource.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/I18n/I18n.php b/lib/Cake/I18n/I18n.php index 856f8f824..7678ba6ae 100644 --- a/lib/Cake/I18n/I18n.php +++ b/lib/Cake/I18n/I18n.php @@ -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]); diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index 8c24ed637..950eaa293 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -1354,7 +1354,7 @@ class DboSource extends DataSource { } } } - $result = Set::pushDiff($result, array($association => $merged)); + $result = Hash::mergeDiff($result, array($association => $merged)); } }