diff options
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 366e92a4f..d0710f739 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2037,17 +2037,14 @@ function user_forms() { } /** - * Implementation of hook_comment(). + * Implementation of hook_comment_view(). */ -function user_comment(&$comment, $op) { - // Validate signature. - if ($op == 'view') { - if (variable_get('user_signatures', 0) && !empty($comment->signature)) { - $comment->signature = check_markup($comment->signature, $comment->format); - } - else { - $comment->signature = ''; - } +function user_comment_view(&$comment) { + if (variable_get('user_signatures', 0) && !empty($comment->signature)) { + $comment->signature = check_markup($comment->signature, $comment->format); + } + else { + $comment->signature = ''; } } |