contact_update_7000

Versions
7
contact_update_7000()

Rename the threshold limit variable.

Related topics

Code

modules/contact/contact.install, line 100

<?php
function contact_update_7000() {
  variable_set('contact_threshold_limit', variable_get('contact_hourly_threshold', 5));
  variable_del('contact_hourly_threshold');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.