diff options
-rw-r--r-- | modules/book.module | 2 | ||||
-rw-r--r-- | modules/book/book.module | 2 |
2 files changed, 0 insertions, 4 deletions
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(); |