function user_comment

6.x user.module user_comment(&$comment, $op)

Implementation of hook_comment().

File

drupal-6.x/modules/user/user.module, line 2104
Enables the user registration and login system.

Code

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->signature_format, FALSE);
    }
    else {
      $comment->signature = '';
    }
  }
}