summaryrefslogtreecommitdiff
path: root/actions/newmessage.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-12-28 01:57:51 +0000
committerBrenda Wallace <shiny@cpan.org>2009-12-28 01:57:51 +0000
commitf4459dfedcdea2f2a6078bedf9530deb45b6d52c (patch)
tree942db6159710f5dd17e0c43a5659e1eec027a9e6 /actions/newmessage.php
parent9d3829df9d29581c1d0281e57fda8ba4452ce2c2 (diff)
parentce8c69a49fc6668a19886ebc354ea5bef808d12a (diff)
Merge commit 'origin/0.9.x' into 0.9.x
Diffstat (limited to 'actions/newmessage.php')
-rw-r--r--actions/newmessage.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/actions/newmessage.php b/actions/newmessage.php
index 0db2e7181..350452091 100644
--- a/actions/newmessage.php
+++ b/actions/newmessage.php
@@ -173,7 +173,7 @@ class NewmessageAction extends Action
return;
}
- $this->notify($user, $this->other, $message);
+ $message->notify();
if ($this->boolean('ajax')) {
$this->startHTML('text/xml;charset=utf-8');
@@ -247,12 +247,6 @@ class NewmessageAction extends Action
}
}
- function notify($from, $to, $message)
- {
- mail_notify_message($message, $from, $to);
- // XXX: Jabber, SMS notifications... probably queued
- }
-
// Do nothing (override)
function showNoticeForm()