From 19e6b84050ffc855183ec6e6f022e5d1190b3425 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 10 Aug 2010 17:22:26 -0700 Subject: [PATCH] StatusNet_network staticGet lookup fix --- lib/statusnet.php | 2 +- lib/stompqueuemanager.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/statusnet.php b/lib/statusnet.php index 2aa73486eb..7212a4a47d 100644 --- a/lib/statusnet.php +++ b/lib/statusnet.php @@ -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'"); diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php index 91faa8c367..fc98c77d40 100644 --- a/lib/stompqueuemanager.php +++ b/lib/stompqueuemanager.php @@ -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)) { -- 2.39.5