summaryrefslogtreecommitdiff
path: root/modules/book
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-02 15:21:01 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-02 15:21:01 +0000
commit26bd449860f6baa77ec23349b89ad8a41860eda2 (patch)
treed11947b157bc89e869a0b1641ceb3d57dff2fc35 /modules/book
parent4a3b9fc88353923021fdf15655de29f2a8361fc2 (diff)
downloadbrdo-26bd449860f6baa77ec23349b89ad8a41860eda2.tar.gz
brdo-26bd449860f6baa77ec23349b89ad8a41860eda2.tar.bz2
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.
Diffstat (limited to 'modules/book')
-rw-r--r--modules/book/book.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 402739183..5d4c9d6f8 100644
--- a/modules/book/book.module
+++ b/modules/book/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']);