summaryrefslogtreecommitdiff
path: root/modules/forum.module
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/forum.module
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/forum.module')
-rw-r--r--modules/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum.module b/modules/forum.module
index c6d4662af..d6b324d29 100644
--- a/modules/forum.module
+++ b/modules/forum.module
@@ -506,12 +506,12 @@ function forum_view(&$node, $teaser = FALSE, $page = FALSE) {
}
/**
- * Implementation of hook_execute().
+ * Implementation of hook_submit().
*
* Check in particular that only a "leaf" term in the associated taxonomy
* vocabulary is selected, not a "container" term.
*/
-function forum_execute(&$node) {
+function forum_submit(&$node) {
// Make sure all fields are set properly:
$node->icon = $node->icon ? $node->icon : '';