constant COMMENT_NEW_LIMIT

The time cutoff for comments marked as read for entity types other node.

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

@todo Remove when https://www.drupal.org/node/1029708 lands.

File

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

Code

define('COMMENT_NEW_LIMIT', REQUEST_TIME - 30 * 24 * 60 * 60)

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!comment!comment.module/constant/COMMENT_NEW_LIMIT/8.1.x