3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

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

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);
}