summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 12:48:40 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 12:48:40 -0700
commitc01ac42c4604b3b129e8089e0dc683ebd418b380 (patch)
tree87c688c638733e7d8a8215bc5f4ee89d0f598c62 /modules/tag/helpers
parenta10063ff68cf5988297dcad889384ab2080c3850 (diff)
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_rss.php b/modules/tag/helpers/tag_rss.php
index f94508cf..7194586d 100644
--- a/modules/tag/helpers/tag_rss.php
+++ b/modules/tag/helpers/tag_rss.php
@@ -22,7 +22,7 @@ class tag_rss_Core {
static function available_feeds($item, $tag) {
if ($tag) {
$feeds["tag/tag/{$tag->id}"] =
- t("Tag feed for %tag_name", array("tag_name" => p::clean($tag->name)));
+ t("Tag feed for %tag_name", array("tag_name" => $tag->name));
return $feeds;
}
return array();