Updated Database class interaction to use Singleton getInstance() method.

This commit is contained in:
Josh Sherman 2010-09-30 21:51:28 -04:00
parent 744418fe0f
commit 28525dcf08

View file

@ -117,7 +117,7 @@ class Model extends Object
{
parent::__construct();
$this->db = new Database();
$this->db = Database::getInstance();
if (isset($conditions))
{