constant NODE_NEW_LIMIT
- 7.x drupal-7.x/modules/node/node.module NODE_NEW_LIMIT
- 6.x drupal-6.x/modules/node/node.module 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.
5 uses of NODE_NEW_LIMIT
- comment_num_new in drupal-7.x/
modules/ comment/ comment.module - Get number of new comments for current user and specified node.
- node_cron in drupal-7.x/
modules/ node/ node.module - Implements hook_cron().
- node_mark in drupal-7.x/
modules/ node/ node.module - Determines the type of marker to be displayed for a given node.
- _forum_topics_unread in drupal-7.x/
modules/ forum/ forum.module - Calculates the number of new posts in a forum that the user has not yet read.
- _forum_user_last_visit in drupal-7.x/
modules/ forum/ forum.module - Gets the last time the user viewed a node.
File
- drupal-7.x/
modules/ node/ node.module, line 45 - The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.
Code
define('NODE_NEW_LIMIT', REQUEST_TIME - 30 * 24 * 60 * 60)