Commit 059534b0 authored by Dries's avatar Dries
Browse files

Patch #7938 by moshe: menu -> {menu}

parent 35acfc18
...@@ -974,7 +974,7 @@ function update_82() { ...@@ -974,7 +974,7 @@ function update_82() {
function update_83() { function update_83() {
$ret = array(); $ret = array();
if ($GLOBALS["db_type"] == "mysql") { if ($GLOBALS["db_type"] == "mysql") {
$ret[] = update_sql("CREATE TABLE menu ( $ret[] = update_sql("CREATE TABLE {menu} (
mid int(10) unsigned NOT NULL default '0', mid int(10) unsigned NOT NULL default '0',
pid int(10) unsigned NOT NULL default '0', pid int(10) unsigned NOT NULL default '0',
path varchar(255) NOT NULL default '', path varchar(255) NOT NULL default '',
...@@ -987,7 +987,7 @@ function update_83() { ...@@ -987,7 +987,7 @@ function update_83() {
$ret[] = update_sql("INSERT INTO {sequences} (name, id) VALUES ('menu_mid', 1)"); $ret[] = update_sql("INSERT INTO {sequences} (name, id) VALUES ('menu_mid', 1)");
} }
else { else {
$ret[] = update_sql("CREATE TABLE menu ( $ret[] = update_sql("CREATE TABLE {menu} (
mid integer NOT NULL default '0', mid integer NOT NULL default '0',
pid integer NOT NULL default '0', pid integer NOT NULL default '0',
path varchar(255) NOT NULL default '', path varchar(255) NOT NULL default '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment