summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-17 18:30:14 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-17 18:30:14 +0000
commit4b635f6d0a21e9a1358a6f9540ef72a55682738b (patch)
tree2b789c7c25f3670f676c8e029249582497e3c060 /modules/book/book.module
parentf6929dcca0870e6d38654a126fe4f6c422cd9936 (diff)
downloadbrdo-4b635f6d0a21e9a1358a6f9540ef72a55682738b.tar.gz
brdo-4b635f6d0a21e9a1358a6f9540ef72a55682738b.tar.bz2
- Patch #128081 by Eaton: remove #base, paving the path for a simpler form API.
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 93fb4b96e..d96972a78 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -912,7 +912,9 @@ function book_admin_orphan() {
else {
$form['error'] = array('#value' => '<p>'. t('There are no orphan pages.') .'</p>');
}
- $form['#base'] = 'book_admin_edit';
+ $form['#submit']['book_admin_edit_submit'] = array();
+ $form['#validate']['book_admin_edit_validate'] = array();
+ $form['#theme'] = 'book_admin_edit';
return $form;
}