summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-08-31 00:02:50 -0400
committerCraig Andrews <candrews@integralblue.com>2010-09-03 17:50:28 -0400
commit80176b0b2c9615b6df319392ee53fbccc1347045 (patch)
tree2aa766c66ec6c24d835c3bc3c0018d7b7fc56b5f
parent6a848bcc8ac37066f7c4941132195d2d67d3b376 (diff)
send_notice -> sendNotice
-rw-r--r--lib/implugin.php6
-rw-r--r--plugins/Xmpp/XmppPlugin.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/implugin.php b/lib/implugin.php
index cbf10d391..19624095d 100644
--- a/lib/implugin.php
+++ b/lib/implugin.php
@@ -86,7 +86,7 @@ abstract class ImPlugin extends Plugin
*
* @return boolean success value
*/
- function send_notice($screenname, $notice)
+ function sendNotice($screenname, $notice)
{
return $this->sendMessage($screenname, $this->format_notice($notice));
}
@@ -298,7 +298,7 @@ abstract class ImPlugin extends Plugin
'Sending notice ' . $notice->id .
' to public listener ' . $screenname,
__FILE__);
- $this->send_notice($screenname, $notice);
+ $this->sendNotice($screenname, $notice);
}
return true;
@@ -356,7 +356,7 @@ abstract class ImPlugin extends Plugin
common_log(LOG_INFO,
'Sending notice ' . $notice->id . ' to ' . $user_im_prefs->screenname,
__FILE__);
- $this->send_notice($user_im_prefs->screenname, $notice);
+ $this->sendNotice($user_im_prefs->screenname, $notice);
$user_im_prefs->free();
}
diff --git a/plugins/Xmpp/XmppPlugin.php b/plugins/Xmpp/XmppPlugin.php
index e62b92cb5..4b57037f5 100644
--- a/plugins/Xmpp/XmppPlugin.php
+++ b/plugins/Xmpp/XmppPlugin.php
@@ -316,7 +316,7 @@ class XmppPlugin extends ImPlugin
$this->queuedConnection()->message($screenname, $body, 'chat');
}
- function send_notice($screenname, $notice)
+ function sendNotice($screenname, $notice)
{
$msg = $this->format_notice($notice);
$entry = $this->format_entry($notice);