use database manager in db session driver.

This commit is contained in:
Taylor Otwell 2011-08-01 18:10:03 -05:00
parent b8e27533bd
commit fe0502ded9
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<?php namespace System\Session;
use System\Config;
use System\DB\Manager;
class DB implements Driver {
@ -62,7 +63,7 @@ public function sweep($expiration)
*/
private function table()
{
return \System\DB::table(Config::get('session.table'));
return Manager::connection()->table(Config::get('session.table'));
}
}