summaryrefslogtreecommitdiff
path: root/modules/akismet/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-15 02:52:42 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-15 02:52:42 +0000
commit034f30190eef5fad22c847e99787b33fac5178ab (patch)
tree17e37dee1caaf6131e21db3705e548a87309d410 /modules/akismet/helpers
parentad4f495e56d1b544b2f4278b41572cdd53fe300f (diff)
Rename 'xxx_changed' events to 'xxx_updated'
Diffstat (limited to 'modules/akismet/helpers')
-rw-r--r--modules/akismet/helpers/akismet_event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/akismet/helpers/akismet_event.php b/modules/akismet/helpers/akismet_event.php
index 1f4d53d5..1a14699b 100644
--- a/modules/akismet/helpers/akismet_event.php
+++ b/modules/akismet/helpers/akismet_event.php
@@ -36,7 +36,7 @@ class akismet_event_Core {
$comment->save();
}
- static function comment_changed($old, $new) {
+ static function comment_updated($old, $new) {
if ($old->state != "spam" && $new->state == "spam") {
akismet::submit_spam($new);
} else if ($old->state == "spam" && $new->state != "spam") {