summaryrefslogtreecommitdiff
path: root/modules/user/controllers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 22:54:20 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 22:54:20 -0700
commitb9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch)
tree0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /modules/user/controllers
parent952c8856098dcfd9673d344fc71be85b303c8fb1 (diff)
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/user/controllers')
-rw-r--r--modules/user/controllers/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/controllers/logout.php b/modules/user/controllers/logout.php
index 4b141a1c..fc3ced56 100644
--- a/modules/user/controllers/logout.php
+++ b/modules/user/controllers/logout.php
@@ -24,7 +24,7 @@ class Logout_Controller extends Controller {
$user = user::active();
user::logout();
log::info("user", t("User %name logged out", array("name" => $user->name)),
- html::anchor("user/$user->id", SafeString::of($user->name)));
+ html::anchor("user/$user->id", html::clean($user->name)));
if ($continue_url = $this->input->get("continue")) {
$item = url::get_item_from_uri($continue_url);
if (access::can("view", $item)) {