function breakpoints_breakpoint_group_delete_by_fullkey in Breakpoints 7
Delete a single breakpoint group by fullkey.
2 calls to breakpoints_breakpoint_group_delete_by_fullkey()
- breakpoints_breakpoint_group_delete in ./
breakpoints.module - Delete a single breakpoint group.
- breakpoints_breakpoint_group_delete_by_name in ./
breakpoints.module - Delete a single breakpoint group by fullkey.
File
- ./
breakpoints.module, line 709 - Breakpoints @todo: provide button to reload breakpoints from theme
Code
function breakpoints_breakpoint_group_delete_by_fullkey($key) {
if (!empty($key)) {
$sql = "DELETE FROM {breakpoint_group} where machine_name = :key";
db_query($sql, array(
':key' => $key,
));
}
variable_set('menu_rebuild_needed', TRUE);
breakpoints_breakpoint_group_reset();
}