Removed unneeded line

This commit is contained in:
Michael Vogel 2016-10-01 08:33:09 +00:00
parent efd574ab83
commit f4f09f08b5

View file

@ -336,7 +336,6 @@ function db_create_index($indexname, $fieldnames, $method="ADD") {
}
if ($indexname == "PRIMARY") {
//return sprintf("%s PRIMARY KEY(`%s`)", $method, implode("`,`", $fieldnames));
return sprintf("%s PRIMARY KEY(%s)", $method, $names);
}