You are here

function system_update_7005 in Drupal 7

Remove throttle columns and variables.

Related topics

File

modules/system/system.install, line 2014
Install, update and uninstall functions for the system module.

Code

function system_update_7005() {
  db_drop_field('blocks', 'throttle');
  db_drop_field('system', 'throttle');
  variable_del('throttle_user');
  variable_del('throttle_anonymous');
  variable_del('throttle_level');
  variable_del('throttle_probability_limiter');
}