function themekey_path_del in ThemeKey 6.2
Deletes a ThemeKey paths formally created by modules via hook_themekey_paths() from database.
Parameters
$id: the id of a ThemeKey path
See also
1 call to themekey_path_del()
- themekey_rebuild in ./
themekey_build.inc - Rebuilds all ThemeKey related drupal variables by calling ThemeKey's hooks:
File
- ./
themekey_build.inc, line 190 - The functions in this file are the back end of ThemeKey which should be used only if you configure something but not when ThemeKey switches themes.
Code
function themekey_path_del($id) {
db_query('DELETE FROM {themekey_paths} WHERE id = %d', $id);
}