You are here

function _themekey_properties_delall in ThemeKey 6

Function _themekey_properties_delall().

1 call to _themekey_properties_delall()
_themekey_settings_submit in ./themekey_admin.inc
Function _themekey_settings_submit().

File

./themekey_build.inc, line 357

Code

function _themekey_properties_delall($properties) {
  $properties = is_array($properties) ? $properties : array(
    $properties,
  );
  foreach ($properties as $property) {
    db_query('DELETE FROM {themekey_properties} WHERE property = \'%s\'', $property);
  }
}