Skip to content

Commit

Permalink
Replace Set with Hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 25, 2012
1 parent 555bfc3 commit 528671f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Cake/Network/CakeRequest.php
Expand Up @@ -15,8 +15,7 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

App::uses('Set', 'Utility');
App::uses('Hash', 'Utility');

/**
* A class that helps wrap Request information and particulars about a single request.
Expand Down Expand Up @@ -353,7 +352,7 @@ protected function _processFileData($path, $data, $field) {
$this->_processFileData($newPath, $fields, $field);
} else {
$newPath .= '.' . $field;
$this->data = Set::insert($this->data, $newPath, $fields);
$this->data = Hash::insert($this->data, $newPath, $fields);
}
}
}
Expand Down

0 comments on commit 528671f

Please sign in to comment.