You are here

constant NODE_NEW_LIMIT in Drupal 4

Same name and namespace in other branches
  1. 5 modules/node/node.module \NODE_NEW_LIMIT
  2. 6 modules/node/node.module \NODE_NEW_LIMIT
  3. 7 modules/node/node.module \NODE_NEW_LIMIT

@file The core that allows content to be submitted to the site.

6 uses of NODE_NEW_LIMIT
comment_num_new in modules/comment.module
get number of new comments for current user and specified node
node_cron in modules/node.module
Implementation of hook_cron().
node_mark in modules/node.module
Decide on the type of marker to be displayed for a given node.
_forum_new in modules/forum.module
Finds the first unread node for a given forum.
_forum_topics_unread in modules/forum.module
Calculate the number of nodes the user has not yet read and are newer than NODE_NEW_LIMIT.

... See full list

File

modules/node.module, line 8
The core that allows content to be submitted to the site.

Code

define('NODE_NEW_LIMIT', time() - 30 * 24 * 60 * 60);