summaryrefslogtreecommitdiff
path: root/modules/user/controllers/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/controllers/logout.php')
-rw-r--r--modules/user/controllers/logout.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user/controllers/logout.php b/modules/user/controllers/logout.php
index 60f9ee50..f0feb48d 100644
--- a/modules/user/controllers/logout.php
+++ b/modules/user/controllers/logout.php
@@ -20,6 +20,8 @@
class Logout_Controller extends Controller {
public function index() {
user::logout();
+ log::add("user", "User $user->name logged out",
+ log::INFO, html::anchor("user/$user->id", $user->name));
if ($this->input->get("continue")) {
url::redirect($this->input->get("continue"));
}