diff --git a/modules/book.module b/modules/book.module index d3de547ce29..72c06c62bb7 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 <top-level> 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 d3de547ce29..72c06c62bb7 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 <top-level> are regarded as independent, top-level books.')); if (function_exists('taxonomy_node_form')) {