diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-04 16:10:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-04 16:10:48 +0000 |
commit | 6690a4ec4cf75b2f18cc53bf67f011c1ecc45e15 (patch) | |
tree | 5cac9cb74340d9d26922f3041cb06a9ec9c4e5cd /modules/user/user.module | |
parent | fbf4e0f1167cdc88b4f8244df63a917ce5167191 (diff) | |
download | brdo-6690a4ec4cf75b2f18cc53bf67f011c1ecc45e15.tar.gz brdo-6690a4ec4cf75b2f18cc53bf67f011c1ecc45e15.tar.bz2 |
- Patch #353480 by dereine, justinrandell: remove from hook_comment().
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 = ''; } } |