summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index e9b7f69a6..c4999b1b6 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -14,15 +14,10 @@ function node_help() {
}
}
-// TODO: still used by themes, yet doesn't return anything at the moment
+// DEPRICATED: still used by themes, yet doesn't return anything at the moment
function node_index() {
}
-function node_get_comments($nid) {
- $comment = db_fetch_object(db_query("SELECT COUNT(c.nid) AS number FROM node n LEFT JOIN comments c ON n.nid = c.nid WHERE n.nid = '$nid' GROUP BY n.nid"));
- return $comment->number ? $comment->number : 0;
-}
-
function node_teaser($body) {
$size = 400;