Return farm_constraint_table_references() in farm_plan_farm_constraint().

This commit is contained in:
Michael Stenta 2019-07-02 11:14:37 -04:00
parent 23227c0685
commit 90a3185431
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ function farm_plan_farm_constraint($type, $bundle, $id) {
$relationships = farm_plan_record_relationships();
// Define plan references to check for
// (see farm_constraint_table_references_exist()).
// (see farm_constraint_table_references()).
$plan_references = array();
foreach ($relationships as $record_type => $info) {
$plan_references[$record_type] = array(
@ -26,5 +26,5 @@ function farm_plan_farm_constraint($type, $bundle, $id) {
}
// Check to see if references exist.
return farm_constraint_table_references_exist($plan_references, $type, $bundle, $id);
return farm_constraint_table_references($plan_references, $type, $bundle, $id);
}