You are here

function system_update_157 in Drupal 4

Same name and namespace in other branches
  1. 5 modules/system/system.install \system_update_157()

File

database/updates.inc, line 1105

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