]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/favoritesrss.php
Extract image management code to a helper function
[quix0rs-gnu-social.git] / actions / favoritesrss.php
index 8c7ce52bf16c667a1786383a092e79376a172bfa..3f4ffc63a0481c79cfc646f218b5721157536de5 100644 (file)
@@ -34,7 +34,7 @@ class FavoritesrssAction extends Rss10Action
         $this->user = User::staticGet('nickname', $nickname);
 
         if (!$this->user) {
-            common_user_error(_('No such user.'));
+            $this->clientError(_('No such user.'));
             return false;
         } else {
             return true;