From 9764f077833f6d920f662148df8e83085dd24f69 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 10 Aug 2011 16:51:08 -0400
Subject: [PATCH] - Patch #1196318 by James_Stallings: node_last_changed() is
 lacking doc.

---
 modules/node/node.module | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/modules/node/node.module b/modules/node/node.module
index 7a6e62425ce9..1ecc09327ed3 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;
 }
-- 
GitLab