]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get_user -> getUser
authorCraig Andrews <candrews@integralblue.com>
Tue, 31 Aug 2010 04:14:47 +0000 (00:14 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 3 Sep 2010 21:50:29 +0000 (17:50 -0400)
lib/implugin.php
plugins/Aim/AimPlugin.php
plugins/Irc/IrcPlugin.php

index b1b918fea5acbb504f32b9b92ee05ff74843c546..a6a30b042f5f8d289392b3531e46159396507305 100644 (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;
index 225d92ad6a8a10337d26004f6504b9ea8dd64bf6..3a1799a2d81aae4eabb87302238167473d3158ce 100644 (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);
index b688e6140b546e2423fdd690978c1576bce47b5b..55645d92fd70490182e2168a11cf60346f12cec6 100644 (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;