user_comment_view

Versions
7
user_comment_view($comment)

Implement hook_comment_view().

Code

modules/user/user.module, line 2868

<?php
function user_comment_view($comment) {
  if (variable_get('user_signatures', 0) && !empty($comment->signature)) {
    $comment->signature = check_markup($comment->signature, $comment->format, '', TRUE);
  }
  else {
    $comment->signature = '';
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.