Testing out only creating the database tables ...

This commit is contained in:
Albert Santoni 2015-02-17 16:49:52 -05:00
parent e603597101
commit d2fae5adae

View file

@ -35,11 +35,11 @@ class ProvisioningHelper {
} }
try { try {
$this->setNewDatabaseConnection(); // $this->setNewDatabaseConnection();
if ($this->checkDatabaseExists()) { //if ($this->checkDatabaseExists()) {
throw new Exception("ERROR: Airtime database already exists"); // throw new Exception("ERROR: Airtime database already exists");
} //}
$this->createDatabase(); //$this->createDatabase();
$this->createDatabaseTables(); $this->createDatabaseTables();
} catch(Exception $e) { } catch(Exception $e) {
http_response_code(400); http_response_code(400);