add_notice -> addNotice

This commit is contained in:
Craig Andrews
2010-08-31 00:13:17 -04:00
parent a3725de47b
commit 054111bb54
2 changed files with 3 additions and 3 deletions

View File

@@ -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);