Removed unneeded line
This commit is contained in:
parent
efd574ab83
commit
f4f09f08b5
|
@ -336,7 +336,6 @@ function db_create_index($indexname, $fieldnames, $method="ADD") {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($indexname == "PRIMARY") {
|
if ($indexname == "PRIMARY") {
|
||||||
//return sprintf("%s PRIMARY KEY(`%s`)", $method, implode("`,`", $fieldnames));
|
|
||||||
return sprintf("%s PRIMARY KEY(%s)", $method, $names);
|
return sprintf("%s PRIMARY KEY(%s)", $method, $names);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user