summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module
index c8c8ad85a..0365e9833 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -168,13 +168,13 @@ function book_delete($node) {
function book_insert($node) {
if ($node->pid && $node->status == node_status("posted")) {
- db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'", 1);
+ db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'");
}
}
function book_update($node) {
if ($node->pid && $node->status == node_status("posted")) {
- db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'", 1);
+ db_query("UPDATE node SET status = '". node_status("expired") ."' WHERE nid = '$node->pid'");
}
}