You are here

function system_update_157 in Drupal 5

Same name and namespace in other branches
  1. 4 database/updates.inc \system_update_157()

File

modules/system/system.install, line 2215

Code

function system_update_157() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {url_alias} WHERE src = 'node/feed' AND dst = 'rss.xml'");
  $ret[] = update_sql("INSERT INTO {url_alias} (src, dst) VALUES ('rss.xml', 'node/feed')");
  return $ret;
}