]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get_screenname -> getScreenname
authorCraig Andrews <candrews@integralblue.com>
Fri, 3 Sep 2010 21:46:42 +0000 (17:46 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 3 Sep 2010 21:50:29 +0000 (17:50 -0400)
lib/imchannel.php
lib/implugin.php

index a0522999057d2df8153d315eb121df1ea25b2220..18ba3f55f09ccf1e6f8fca2134486283e27d04ae 100644 (file)
@@ -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;
index f4504f52535c605c15d1a2175876f426002e9721..72d1456f4d0b659ef8a943b048a0878847b01ef5 100644 (file)
@@ -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) {