From 44f1b943016cb1a75153768838622c348238aaa1 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 3 Sep 2010 17:46:42 -0400 Subject: [PATCH] get_screenname -> getScreenname --- lib/imchannel.php | 4 ++-- lib/implugin.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/imchannel.php b/lib/imchannel.php index a052299905..18ba3f55f0 100644 --- a/lib/imchannel.php +++ b/lib/imchannel.php @@ -47,14 +47,14 @@ class IMChannel extends Channel function output($user, $text) { $text = '['.common_config('site', 'name') . '] ' . $text; - $this->imPlugin->sendMessage($this->imPlugin->get_screenname($user), $text); + $this->imPlugin->sendMessage($this->imPlugin->getScreenname($user), $text); } function error($user, $text) { $text = '['.common_config('site', 'name') . '] ' . $text; - $screenname = $this->imPlugin->get_screenname($user); + $screenname = $this->imPlugin->getScreenname($user); if($screenname){ $this->imPlugin->sendMessage($screenname, $text); return true; diff --git a/lib/implugin.php b/lib/implugin.php index f4504f5253..72d1456f4d 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -208,7 +208,7 @@ abstract class ImPlugin extends Plugin * * @return string screenname of that user */ - function get_screenname($user) + function getScreenname($user) { $user_im_prefs = $this->getUserImPrefsFromUser($user); if ($user_im_prefs) { -- 2.39.5