X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fimplugin.php;h=cbf10d391120d657da85eb1ef9a4ea023944eb7b;hb=6a848bcc8ac37066f7c4941132195d2d67d3b376;hp=dafb8a416b23da46da4fb4a2c6ee8bab5ff80302;hpb=004e42e3e0606f0f9e5c8b6cd4512e5d870cd56e;p=quix0rs-gnu-social.git diff --git a/lib/implugin.php b/lib/implugin.php index dafb8a416b..cbf10d3911 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -88,7 +88,7 @@ abstract class ImPlugin extends Plugin */ function send_notice($screenname, $notice) { - return $this->send_message($screenname, $this->format_notice($notice)); + return $this->sendMessage($screenname, $this->format_notice($notice)); } /** @@ -101,7 +101,7 @@ abstract class ImPlugin extends Plugin * * @return boolean success value */ - abstract function send_message($screenname, $body); + abstract function sendMessage($screenname, $body); /** * receive a raw message @@ -249,7 +249,7 @@ abstract class ImPlugin extends Plugin protected function send_from_site($screenname, $msg) { $text = '['.common_config('site', 'name') . '] ' . $msg; - $this->send_message($screenname, $text); + $this->sendMessage($screenname, $text); } /** @@ -271,7 +271,7 @@ abstract class ImPlugin extends Plugin 'or if you didn\'t request this confirmation, just ignore this message.'), $user->nickname, common_config('site', 'name'), $this->getDisplayName(), common_local_url('confirmaddress', array('code' => $code))); - return $this->send_message($screenname, $body); + return $this->sendMessage($screenname, $body); } /**