From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 21:33:01 +0000 (+0100) Subject: showstream for singleuser instance too X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a4cb43f67e84d90a26a2e3dd48219c461f9f7d3;p=quix0rs-gnu-social.git showstream for singleuser instance too singleuser instances shouldn't be too special and have too many alternative methods of doing stuff. --- diff --git a/lib/router.php b/lib/router.php index 45efceec36..c07307fb0e 100644 --- a/lib/router.php +++ b/lib/router.php @@ -1066,15 +1066,15 @@ class Router $m->connect(':nickname/rsd.xml', array('action' => 'rsd'), array('nickname' => Nickname::DISPLAY_FMT)); + } - $m->connect(':nickname', - array('action' => 'showstream'), - array('nickname' => Nickname::DISPLAY_FMT)); + $m->connect(':nickname', + array('action' => 'showstream'), + array('nickname' => Nickname::DISPLAY_FMT)); - $m->connect(':nickname/', - array('action' => 'showstream'), - array('nickname' => Nickname::DISPLAY_FMT)); - } + $m->connect(':nickname/', + array('action' => 'showstream'), + array('nickname' => Nickname::DISPLAY_FMT)); // AtomPub API