Commit fe0502de by Taylor Otwell

use database manager in db session driver.

parent b8e27533
<?php namespace System\Session; <?php namespace System\Session;
use System\Config; use System\Config;
use System\DB\Manager;
class DB implements Driver { class DB implements Driver {
...@@ -62,7 +63,7 @@ class DB implements Driver { ...@@ -62,7 +63,7 @@ class DB implements Driver {
*/ */
private function table() private function table()
{ {
return \System\DB::table(Config::get('session.table')); return Manager::connection()->table(Config::get('session.table'));
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment