Removing error on connect
This commit is contained in:
parent
d968ab7c67
commit
14f616f59a
|
|
@ -17,7 +17,6 @@ class Storage
|
|||
$this->db = new PDO($this->dbType . $this->dbLocation);
|
||||
if(!$this->db) {
|
||||
$this->db = null;
|
||||
throw new StorageConnectionException();
|
||||
}
|
||||
} catch(Exception $e) {
|
||||
$this->db = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue