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 {
$this->setNewDatabaseConnection();
if ($this->checkDatabaseExists()) {
throw new Exception("ERROR: Airtime database already exists");
}
$this->createDatabase();
// $this->setNewDatabaseConnection();
//if ($this->checkDatabaseExists()) {
// throw new Exception("ERROR: Airtime database already exists");
//}
//$this->createDatabase();
$this->createDatabaseTables();
} catch(Exception $e) {
http_response_code(400);