Updated Database class interaction to use Singleton getInstance() method.
This commit is contained in:
parent
744418fe0f
commit
28525dcf08
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Model extends Object
|
|||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->db = new Database();
|
||||
$this->db = Database::getInstance();
|
||||
|
||||
if (isset($conditions))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue