summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-07-18 09:57:48 +0000
committerDries Buytaert <dries@buytaert.net>2005-07-18 09:57:48 +0000
commite0158075f660470d13b071978828dd7c4d0e9b91 (patch)
treed0798a07d0a23effcb855ac13666675e442ef605
parent1a0655dce94adcf91361b7e40f135ea6ff040a63 (diff)
downloadbrdo-e0158075f660470d13b071978828dd7c4d0e9b91.tar.gz
brdo-e0158075f660470d13b071978828dd7c4d0e9b91.tar.bz2
- Patch #24805 by Ber: removed some dead code.
-rw-r--r--modules/book.module4
-rw-r--r--modules/book/book.module4
2 files changed, 0 insertions, 8 deletions
diff --git a/modules/book.module b/modules/book.module
index d3de547ce..72c06c62b 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -221,10 +221,6 @@ function book_validate(&$node) {
* Implementation of hook_form().
*/
function book_form(&$node) {
- global $user;
-
- $op = $_POST['op'];
-
$output = form_select(t('Parent'), 'parent', ($node->parent ? $node->parent : arg(4)), book_toc($node->nid), t('The parent that this page belongs in. Note that pages whose parent is &lt;top-level&gt; are regarded as independent, top-level books.'));
if (function_exists('taxonomy_node_form')) {
diff --git a/modules/book/book.module b/modules/book/book.module
index d3de547ce..72c06c62b 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -221,10 +221,6 @@ function book_validate(&$node) {
* Implementation of hook_form().
*/
function book_form(&$node) {
- global $user;
-
- $op = $_POST['op'];
-
$output = form_select(t('Parent'), 'parent', ($node->parent ? $node->parent : arg(4)), book_toc($node->nid), t('The parent that this page belongs in. Note that pages whose parent is &lt;top-level&gt; are regarded as independent, top-level books.'));
if (function_exists('taxonomy_node_form')) {