diff --git a/modules/node/node.module b/modules/node/node.module index 7a6e62425ce911bd0c535d0f468f68ef63d49228..1ecc09327ed321bb770c75f210bcb6965c282904 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2075,6 +2075,15 @@ function node_page_title($node) { return $node->title; } +/** + * Finds the last time a node was changed. + * + * @param $nid + * The ID of a node. + * + * @return + * A unix timestamp indicating the last time the node was changed. + */ function node_last_changed($nid) { return db_query('SELECT changed FROM {node} WHERE nid = :nid', array(':nid' => $nid))->fetch()->changed; }