NODE_NEW_LIMIT

Nodes changed before this time are always marked as read.

Nodes changed after this time may be marked new, updated, or read, depending on their state for the current user. Defaults to 30 days ago.

3 uses of NODE_NEW_LIMIT
comment_num_new in modules/comment/comment.module
Get number of new comments for current user and specified node.
node_mark in modules/node/node.module
Determines the type of marker to be displayed for a given node.
_forum_user_last_visit in modules/forum/forum.module
Gets the last time the user viewed a node.

File

modules/node/node.module, line 45

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.