function getlocations_fields_delete_revision_record in Get Locations 7.2
Same name and namespace in other branches
- 7 modules/getlocations_fields/getlocations_fields.module \getlocations_fields_delete_revision_record()
Create a location
Parameters
array $location: The location
array $relations: Relationship information
1 call to getlocations_fields_delete_revision_record()
- getlocations_fields_save_locations in modules/
getlocations_fields/ getlocations_fields.module
File
- modules/
getlocations_fields/ getlocations_fields.module, line 2244 - getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_fields_delete_revision_record($location, $relations) {
if (isset($location['glid']) && $location['glid']) {
$glid = $location['glid'];
db_delete('getlocations_fields')
->condition('glid', $glid)
->execute();
}
}