public function users_table_exists () {
return $this->_tblexists ("users");
}
- public function create_users_table ($error_if_exists) {
+ public function create_users_table () {
$query = sprintf ("CREATE TABLE " .
- ($error_if_exists ? " " : "IF NOT EXISTS ") .
"%susers (
name VARCHAR(255) NOT NULL, pwd CHAR(32),
PRIMARY KEY (name));", $this->dbprefix);
public function items_table_exists () {
return $this->_tblexists ("items");
}
- public function create_items_table ($error_if_exists) {
+ public function create_items_table () {
$query = sprintf ("CREATE TABLE " .
- ($error_if_exists ? " " : "IF NOT EXISTS ") .
"%sitems (
id MEDIUMINT NOT NULL AUTO_INCREMENT,
location POINT,