dont use ioc for session.

This commit is contained in:
Taylor Otwell 2012-02-01 10:32:06 -06:00
parent eaa2cf593c
commit 33f34aa479
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public static function user()
{
if ( ! is_null(static::$user)) return static::$user;
$id = IoC::core('session')->get(Auth::user_key);
$id = Session::get(Auth::user_key);
// To retrieve the user, we'll first attempt to use the "user" Closure
// defined in the auth configuration file, passing in the ID. The user