You are here

function contact_update_7000 in Drupal 7

Rename the threshold limit variable.

Related topics

File

modules/contact/contact.install, line 118
Install, update and uninstall functions for the contact module.

Code

function contact_update_7000() {
  variable_set('contact_threshold_limit', variable_get('contact_hourly_threshold', 5));
  variable_del('contact_hourly_threshold');
}