From 50717513c242d92be4e150124c5bc1b55de66956 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 10 Aug 2004 14:16:46 +0000 Subject: - Left-over debug statement --- modules/book.module | 2 -- modules/book/book.module | 2 -- 2 files changed, 4 deletions(-) (limited to 'modules') diff --git a/modules/book.module b/modules/book.module index 1fded670e..da49117ab 100644 --- a/modules/book.module +++ b/modules/book.module @@ -536,8 +536,6 @@ function book_toc_recurse($nid, $indent, $toc, $children, $exclude) { function book_toc($exclude = 0, $parent = 0, $indent = '', $toc = array()) { $result = db_query('SELECT DISTINCT(n.nid), n.title, b.parent FROM {node} n '. node_access_join_sql() .' INNER JOIN {book} b ON n.nid = b.nid WHERE n.status = 1 AND '. node_access_where_sql() .' ORDER BY b.weight, n.title'); - print "Exclude: ". $exclude; - while ($node = db_fetch_object($result)) { if (!$children[$node->parent]) { $children[$node->parent] = array(); diff --git a/modules/book/book.module b/modules/book/book.module index 1fded670e..da49117ab 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -536,8 +536,6 @@ function book_toc_recurse($nid, $indent, $toc, $children, $exclude) { function book_toc($exclude = 0, $parent = 0, $indent = '', $toc = array()) { $result = db_query('SELECT DISTINCT(n.nid), n.title, b.parent FROM {node} n '. node_access_join_sql() .' INNER JOIN {book} b ON n.nid = b.nid WHERE n.status = 1 AND '. node_access_where_sql() .' ORDER BY b.weight, n.title'); - print "Exclude: ". $exclude; - while ($node = db_fetch_object($result)) { if (!$children[$node->parent]) { $children[$node->parent] = array(); -- cgit v1.2.3