summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-12-11 12:26:40 +0000
committerDries Buytaert <dries@buytaert.net>2004-12-11 12:26:40 +0000
commit260f886699a5e1897d4a0e14e91ae108f3bd8123 (patch)
tree1d824611808046018f4a64683dae882f84f20d30
parentd61e7a663ed78f7ed27ea9c6819df7160e07e654 (diff)
downloadbrdo-260f886699a5e1897d4a0e14e91ae108f3bd8123.tar.gz
brdo-260f886699a5e1897d4a0e14e91ae108f3bd8123.tar.bz2
- Fixed typo: db_queryd() -> db_query()
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 72f954b45..6822fd8f4 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -255,7 +255,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) {
db_query('INSERT INTO {node_comment_statistics} (nid, cid, last_comment_timestamp, last_comment_name, last_comment_uid, comment_count) VALUES (%d, 0, %d, NULL, %d, 0)', $node->nid, $node->created, $node->uid);
break;
case 'update':
- db_queryd('UPDATE {node_comment_statistics} SET last_comment_timestamp = %d WHERE nid = %d AND cid = 0', $node->changed, $node->nid);
+ db_query('UPDATE {node_comment_statistics} SET last_comment_timestamp = %d WHERE nid = %d AND cid = 0', $node->changed, $node->nid);
break;
case 'delete':
db_query('DELETE FROM {comments} WHERE nid = %d', $node->nid);
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 72f954b45..6822fd8f4 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -255,7 +255,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) {
db_query('INSERT INTO {node_comment_statistics} (nid, cid, last_comment_timestamp, last_comment_name, last_comment_uid, comment_count) VALUES (%d, 0, %d, NULL, %d, 0)', $node->nid, $node->created, $node->uid);
break;
case 'update':
- db_queryd('UPDATE {node_comment_statistics} SET last_comment_timestamp = %d WHERE nid = %d AND cid = 0', $node->changed, $node->nid);
+ db_query('UPDATE {node_comment_statistics} SET last_comment_timestamp = %d WHERE nid = %d AND cid = 0', $node->changed, $node->nid);
break;
case 'delete':
db_query('DELETE FROM {comments} WHERE nid = %d', $node->nid);