]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/favoritesrss.php
ConversationTree is now a plugin (not oldschool setting)
[quix0rs-gnu-social.git] / actions / favoritesrss.php
index 494327674d9051a4c092aee3015a2be899942dcc..de901b0b4643a3cfac992e52bb62bce7b3e46ad8 100644 (file)
@@ -65,12 +65,11 @@ class FavoritesrssAction extends Rss10Action
         parent::prepare($args);
 
         $nickname   = $this->trimmed('nickname');
-        $this->user = User::staticGet('nickname', $nickname);
+        $this->user = User::getKV('nickname', $nickname);
 
         if (!$this->user) {
             // TRANS: Client error displayed when trying to get the RSS feed with favorites of a user that does not exist.
             $this->clientError(_('No such user.'));
-            return false;
         } else {
             $this->notices = $this->getNotices($this->limit);
             return true;