summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-17 09:07:00 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-17 09:07:00 +0000
commit860a5cc388f9ee729e54ece9425eb0275c340a4d (patch)
tree44582b4b1bdf762484edd64b33d43ced9c393b12 /modules/book.module
parentce42eb41a2bcc3ca409b47f1b965a98be6618e1f (diff)
downloadbrdo-860a5cc388f9ee729e54ece9425eb0275c340a4d.tar.gz
brdo-860a5cc388f9ee729e54ece9425eb0275c340a4d.tar.bz2
- Removed the $help parameter from the _form hook. The help, typically
submission guidelines, should be emmitted using the _help hook.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/book.module b/modules/book.module
index a53621846..2c182ba7a 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -180,7 +180,7 @@ function book_validate(&$node) {
}
}
-function book_form(&$node, &$help, &$error) {
+function book_form(&$node, &$error) {
global $user;
$op = $_POST["op"];
@@ -200,13 +200,6 @@ function book_form(&$node, &$help, &$error) {
}
}
else {
-
- /*
- ** Carry out some explanation or submission guidelines:
- */
-
- $help = book_node("description");
-
/*
** If a regular user updates a book page, we create a new revision
** authored by that user:
@@ -906,7 +899,6 @@ function book_help($section = "admin/help#book") {
case 'admin/node/book/orphan':
$output = t("Pages in a book are like a tree. As pages are edited, reorganized and removed, child pages might be left with no link to the rest of the book. Such pages are refered to as 'orphan pages'. On this page, administrators can review their books for orphans and reattach those pages as desired.");
break;
-
}
return $output;