diff options
author | Brion Vibber <brion@status.net> | 2010-08-10 17:22:26 -0700 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-08-10 17:22:26 -0700 |
commit | 19e6b84050ffc855183ec6e6f022e5d1190b3425 (patch) | |
tree | e121ad44511a08ff01bcf11efbe587b75c9cb765 /lib | |
parent | 5c210f724a865830d0c39feba8386f495b18ee4f (diff) |
StatusNet_network staticGet lookup fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/statusnet.php | 2 | ||||
-rw-r--r-- | lib/stompqueuemanager.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/statusnet.php b/lib/statusnet.php index 2aa73486e..7212a4a47 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 91faa8c36..fc98c77d4 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)) { |