system_update_7005

Definition

system_update_7005()
modules/system/system.install, line 2909

Description

Remove throttle columns and variables.

Code

<?php
function system_update_7005() {
  $ret = array();
  db_drop_field($ret, 'blocks', 'throttle');
  db_drop_field($ret, 'system', 'throttle');
  variable_del('throttle_user');
  variable_del('throttle_anonymous');
  variable_del('throttle_level');
  variable_del('throttle_probability_limiter');

  return $ret;
}
?>
 
 

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.