Commit e0158075 authored by Dries's avatar Dries
Browse files

- Patch #24805 by Ber: removed some dead code.

parent 1a0655dc
......@@ -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')) {
......
......@@ -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')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment