You are here

function getlocations_fields_delete_record_relations in Get Locations 7

Parameters

array $relations: Relationship information

int $glid: The location ID

1 call to getlocations_fields_delete_record_relations()
getlocations_fields_delete_record in modules/getlocations_fields/getlocations_fields.module
Create a location

File

modules/getlocations_fields/getlocations_fields.module, line 2321
getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_fields_delete_record_relations($relations, $glid) {
  db_delete('getlocations_fields_entities')
    ->condition('glid', $glid)
    ->execute();
}