Permalink
Browse files

BackwardsCompatibilityBreak - fRecordSet::flagForAssociation() was re…

…named to fRecordSet::flagAssociate()
  • Loading branch information...
wbond committed Sep 14, 2008
1 parent 095c09a commit 7c67d80d8cdfa22a84aee89947988247b0f39a67
Showing with 3 additions and 3 deletions.
  1. +2 −2 classes/fORMRelated.php
  2. +1 −1 classes/fRecordSet.php
View
@@ -50,7 +50,7 @@ static public function associateRecords($class, &$related_records, $related_clas
} else {
$records = clone $records_to_associate;
}
$records->flagForAssociation();
$records->flagAssociate();
self::setRecords($class, $related_records, $related_class, $records, $route);
}
@@ -389,7 +389,7 @@ static public function populateRecords($class, &$related_records, $related_class
}
$record_set = fRecordSet::buildFromRecords($related_class, $records);
$record_set->flagForAssociation();
$record_set->flagAssociate();
self::setRecords($class, $related_records, $related_class, $record_set, $route);
}
View
@@ -660,7 +660,7 @@ public function filter($callback)
*
* @return void
*/
public function flagForAssociation()
public function flagAssociate()
{
$this->associate = TRUE;
}

0 comments on commit 7c67d80

Please sign in to comment.