You are here

function system_update_1010 in Drupal 5

Related topics

File

modules/system/system.install, line 3345

Code

function system_update_1010() {
  $ret = array();

  // Disable urlfilter.module, if it exists.
  if (module_exists('urlfilter')) {
    module_disable(array(
      'urlfilter',
    ));
    $ret[] = update_sql("UPDATE {filter_formats} SET module = 'filter', delta = 3 WHERE module = 'urlfilter'");
    $ret[] = t('URL Filter module was disabled; this functionality has now been added to core.');
  }
  return $ret;
}