summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/book.module b/modules/book.module
index 402739183..5d4c9d6f8 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -225,9 +225,9 @@ function book_delete(&$node) {
}
/**
- * Implementation of hook_execute().
+ * Implementation of hook_submit().
*/
-function book_execute(&$node) {
+function book_submit(&$node) {
// Set default values for non-administrators.
if (!user_access('administer nodes')) {
$node->weight = 0;
@@ -968,7 +968,7 @@ function book_admin_orphan() {
}
}
-function book_admin_edit_execute($form_id, $form_values) {
+function book_admin_edit_submit($form_id, $form_values) {
foreach ($form_values['table'] as $row) {
$node = node_load($row['nid']);