Reworked Database stuff to be Datastore stuff

Wanted a generic grouping for all datastores so there's a place for memcached and redis.
This commit is contained in:
Josh Sherman 2013-02-26 10:15:52 -05:00
parent df0ef6d959
commit ebd0018473
12 changed files with 170 additions and 180 deletions

View file

@ -179,7 +179,7 @@ class Session extends Object
$this->table = $table;
// Gets a database instance
$this->db = Database::getInstance($this->datasource);
$this->db = Datastore::getInstance($this->datasource);
// Initializes the session
$this->initialize();