comment_user_can_moderate

Versions
4.6
comment_user_can_moderate($node)

Code

modules/comment.module, line 1368

<?php
function comment_user_can_moderate($node) {
  global $user;
  return (user_access('moderate comments'));
  // TODO: || (($user->uid == $node->uid) && user_access("moderate comments in owned node")));
}
?>
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.