You are here

function themekey_css_rule_del in ThemeKey 7.3

Deletes a ThemeKey rule from database.

Parameters

$id: id of the rule to be deleted from database

Throws

ThemeKeyRuleDeletionException

1 call to themekey_css_rule_del()
themekey_css_admin_delete_rule_confirm_submit in themekey_css/themekey_css_admin.inc
Execute ThemeKey rule deletion

File

themekey_css/themekey_css_build.inc, line 85
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_css_rule_del($id) {
  return themekey_abstract_rule_del('themekey_css_rules', $id);
}