summaryrefslogtreecommitdiff
path: root/includes/node.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/node.inc')
-rw-r--r--includes/node.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/node.inc b/includes/node.inc
index 3f734ff3e..7026efbb6 100644
--- a/includes/node.inc
+++ b/includes/node.inc
@@ -18,6 +18,13 @@ function node_get_array($field, $value) {
return db_fetch_array(_node_get($field, $value));
}
+function node_get_category($nid) {
+ db_fetch_array(db_query("SELECT FROM"));
+}
+
+function node_get_topic($nid) {
+}
+
function node_del($field, $value) {
global $status;
if ($node = node_get_object($field, $value)) {
@@ -123,7 +130,6 @@ function node_save($node) {
}
}
-
function node_invoke($node, $name, $arg = 0) {
if ($node[type]) $function = $node[type] ."_$name";
if ($node->type) $function = $node->type ."_$name";