summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 97adb01cf..e02546b1c 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -112,11 +112,13 @@ function node_last_viewed($nid) {
}
/**
- * Determines whether the supplied timestamp is newer than the user's last view of a given node
+ * Determines whether the supplied timestamp is newer than the user's last view
+ * of a given node
*
- * @param $nid node-id twhose history supplies the 'last viewed' timestamp
- * @param $timestamp time which is compared against node's 'last veiwed' timestamp
-*/
+ * @param $nid node-id twhose history supplies the 'last viewed' timestamp
+ * @param $timestamp time which is compared against node's 'last veiwed'
+ * timestamp
+ */
function node_is_new($nid, $timestamp) {
global $user;
static $cache;