From 2e34309539ddc986aa282521a6ecc4bb1f3fa258 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 11 Aug 2011 13:45:17 -0500 Subject: [PATCH] Refactor Auth class for consistency. --- system/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/auth.php b/system/auth.php index e9734896..532b358e 100644 --- a/system/auth.php +++ b/system/auth.php @@ -132,9 +132,9 @@ class Auth { */ public static function logout() { - Session::forget(static::$key); - static::$user = null; + + Session::forget(static::$key); } } \ No newline at end of file