get_user -> getUser

This commit is contained in:
Craig Andrews 2010-08-31 00:14:47 -04:00
parent 054111bb54
commit 9ccf65a311
3 changed files with 4 additions and 4 deletions

View File

@ -168,7 +168,7 @@ abstract class ImPlugin extends Plugin
*
* @return User user
*/
function get_user($screenname)
function getUser($screenname)
{
$user_im_prefs = $this->getUserImPrefsFromScreenname($screenname);
if($user_im_prefs){
@ -438,7 +438,7 @@ abstract class ImPlugin extends Plugin
*/
protected function handleIncoming($from, $notice_text)
{
$user = $this->get_user($from);
$user = $this->getUser($from);
// For common_current_user to work
global $_cur;
$_cur = $user;

View File

@ -135,7 +135,7 @@ class AimPlugin extends ImPlugin
{
$info=Aim::getMessageInfo($message);
$from = $info['from'];
$user = $this->get_user($from);
$user = $this->getUser($from);
$notice_text = $info['message'];
$this->handleIncoming($from, $notice_text);

View File

@ -229,7 +229,7 @@ class IrcPlugin extends ImPlugin {
* @param boolean true on success
*/
protected function handle_channel_incoming($nick, $channel, $notice_text) {
$user = $this->get_user($nick);
$user = $this->getUser($nick);
// For common_current_user to work
global $_cur;
$_cur = $user;