You are here

constant COMMENT_PUBLISHED in Drupal 5

Same name and namespace in other branches
  1. 4 modules/comment.module \COMMENT_PUBLISHED
  2. 6 modules/comment/comment.module \COMMENT_PUBLISHED
  3. 7 modules/comment/comment.module \COMMENT_PUBLISHED

Comment is published.

13 uses of COMMENT_PUBLISHED
comment_access in modules/comment/comment.module
This is *not* a hook_access() implementation. This function is called to determine whether the current user has access to a particular comment.
comment_admin_overview in modules/comment/comment.module
comment_form_add_preview in modules/comment/comment.module
comment_get_recent in modules/comment/comment.module
Find a number of recent comments. This is done in two steps. 1. Find the n (specified by $number) nodes that have the most recent comments. This is done by querying node_comment_statistics which has an index on last_comment_timestamp, and is thus a…
comment_nodeapi in modules/comment/comment.module
Implementation of hook_nodeapi().

... See full list

File

modules/comment/comment.module, line 15
Enables users to comment on published content.

Code

define('COMMENT_PUBLISHED', 0);