function system_update_7005

Remove throttle columns and variables.

Related topics

File

modules/system/system.install, line 2033

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.