summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers
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/g2_import/helpers
parent952c8856098dcfd9673d344fc71be85b303c8fb1 (diff)
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/g2_import/helpers')
-rw-r--r--modules/g2_import/helpers/g2_import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index a01ca1db..7e5c6f75 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -590,7 +590,7 @@ class g2_import_Core {
self::map($g2_comment->getId(), $comment->id);
return t("Imported comment '%comment' for item with id: %id",
array("id" => $comment->item_id,
- "comment" => text::limit_words(nl2br(SafeString::purify($comment->text)), 50)));
+ "comment" => text::limit_words(nl2br(html::purify($comment->text)), 50)));
}
/**