git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 054111bb authored by Craig Andrews's avatar Craig Andrews

add_notice -> addNotice

parent a3725de4
......@@ -463,7 +463,7 @@ abstract class ImPlugin extends Plugin
common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname);
$this->add_notice($from, $user, $notice_text);
$this->addNotice($from, $user, $notice_text);
}
$user->free();
......@@ -481,7 +481,7 @@ abstract class ImPlugin extends Plugin
*
* @param boolean success
*/
protected function add_notice($screenname, $user, $body)
protected function addNotice($screenname, $user, $body)
{
$body = trim(strip_tags($body));
$content_shortened = common_shorten_links($body);
......
......@@ -252,7 +252,7 @@ class IrcPlugin extends ImPlugin {
return;
} else {
common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname);
$this->add_notice($nick, $user, $notice_text);
$this->addNotice($nick, $user, $notice_text);
}
$user->free();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment