diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-21 10:35:30 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-21 10:35:30 +0000 |
commit | 849b271a8c3930b5a912f9ec7bd7bba9bac20819 (patch) | |
tree | 6a7bdfaf71ac3c37b3797546ba54950f48dbe23a /modules/user/controllers/logout.php | |
parent | 0573698155f04d6ccb6a68cf63fdeb8c73501576 (diff) |
Add info/warning/error classes to log messages.
Diffstat (limited to 'modules/user/controllers/logout.php')
-rw-r--r-- | modules/user/controllers/logout.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/controllers/logout.php b/modules/user/controllers/logout.php index f0feb48d..5f4057af 100644 --- a/modules/user/controllers/logout.php +++ b/modules/user/controllers/logout.php @@ -19,6 +19,7 @@ */ class Logout_Controller extends Controller { public function index() { + $user = user::active(); user::logout(); log::add("user", "User $user->name logged out", log::INFO, html::anchor("user/$user->id", $user->name)); |