You are here

function skinr_rule_save in Skinr 6.2

Save a skinr page rule object.

1 call to skinr_rule_save()
skinr_rule_edit_submit in ./skinr_ui.rules.inc

File

./skinr.module, line 308

Code

function skinr_rule_save($rule) {
  drupal_write_record('skinr_rules', $rule, !empty($rule->rid) ? array(
    'rid',
  ) : array());
}