function themekey_redirect_rule_del in ThemeKey 7.3
Deletes a ThemeKey rule from database.
Parameters
$id: id of the rule to be deleted from database
Throws
1 call to themekey_redirect_rule_del()
- themekey_redirect_admin_delete_rule_confirm_submit in themekey_redirect/
themekey_redirect_admin.inc - Execute ThemeKey rule deletion
File
- themekey_redirect/
themekey_redirect_build.inc, line 91 - 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_redirect_rule_del($id) {
return themekey_abstract_rule_del('themekey_redirect_rules', $id);
}