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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/controllers/logout.php b/modules/user/controllers/logout.php
index 5f4057af..e0da9a9f 100644
--- a/modules/user/controllers/logout.php
+++ b/modules/user/controllers/logout.php
@@ -21,8 +21,8 @@ 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));
+ log::info("user", sprintf(_("User %s logged out"), $user->name),
+ html::anchor("user/$user->id", $user->name));
if ($this->input->get("continue")) {
url::redirect($this->input->get("continue"));
}