summaryrefslogtreecommitdiff
path: root/modules/trigger
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-01 20:39:20 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-01 20:39:20 +0000
commite9ca98b69d45b935fe4963a345cba92a87164ddb (patch)
tree44649b4db3ce1c4c8919255fb55f459c0f44c673 /modules/trigger
parentd9ab38b2d02037e0af3916b1d99120389e9aadd9 (diff)
downloadbrdo-e9ca98b69d45b935fe4963a345cba92a87164ddb.tar.gz
brdo-e9ca98b69d45b935fe4963a345cba92a87164ddb.tar.bz2
- Patch #504678 by catch: use objects instead of arrays.
Diffstat (limited to 'modules/trigger')
-rw-r--r--modules/trigger/trigger.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/trigger/trigger.module b/modules/trigger/trigger.module
index 00e732ab4..19493066b 100644
--- a/modules/trigger/trigger.module
+++ b/modules/trigger/trigger.module
@@ -306,15 +306,15 @@ function _trigger_normalize_comment_context($type, $comment) {
/**
* Implement hook_comment_insert().
*/
-function trigger_comment_insert($form_values) {
- _trigger_comment($form_values, 'insert');
+function trigger_comment_insert($comment) {
+ _trigger_comment($comment, 'insert');
}
/**
* Implement hook_comment_update().
*/
-function trigger_comment_update($form_values) {
- _trigger_comment($form_values, 'update');
+function trigger_comment_update($comment) {
+ _trigger_comment($comment, 'update');
}
/**