Skip to content

Commit

Permalink
Revert "Merge pull request #643 from nodesagency/hotfix/beforeValidat…
Browse files Browse the repository at this point in the history
…e-copy-data"

This reverts commit b4a42e4, reversing
changes made to 6bd7da3.
  • Loading branch information
lorenzo committed May 9, 2012
1 parent 0f54758 commit 07bf73e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cake/Model/Model.php
Expand Up @@ -2044,7 +2044,6 @@ public function saveMany($data = null, $options = array()) {

if ($options['validate'] === 'first') {
$validates = $this->validateMany($data, $options);
$data = $this->data;
if ((!$validates && $options['atomic']) || (!$options['atomic'] && in_array(false, $validates, true))) {
return $validates;
}
Expand Down

0 comments on commit 07bf73e

Please sign in to comment.