]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
StatusNet_network staticGet lookup fix
authorBrion Vibber <brion@status.net>
Wed, 11 Aug 2010 00:22:26 +0000 (17:22 -0700)
committerBrion Vibber <brion@status.net>
Wed, 11 Aug 2010 00:22:26 +0000 (17:22 -0700)
lib/statusnet.php
lib/stompqueuemanager.php

index 2aa73486eb100ad996cca777f497d1509cd24bda..7212a4a47d5ebc7db124580ccb110ff7a30ef5f4 100644 (file)
@@ -141,7 +141,7 @@ class StatusNet
             return true;
         }
 
-        $sn = Status_network::staticGet($nickname);
+        $sn = Status_network::staticGet('nickname', $nickname);
         if (empty($sn)) {
             return false;
             throw new Exception("No such site nickname '$nickname'");
index 91faa8c3673011f007d53751a64b83104758e12a..fc98c77d4086cffea3a90076790c19f39f8bbced 100644 (file)
@@ -649,7 +649,7 @@ class StompQueueManager extends QueueManager
      */
     protected function updateSiteConfig($nickname)
     {
-        $sn = Status_network::staticGet($nickname);
+        $sn = Status_network::staticGet('nickname', $nickname);
         if ($sn) {
             $this->switchSite($nickname);
             if (!in_array($nickname, $this->sites)) {