]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/userrss.php
Merge remote-tracking branch 'statusnet/master'
[quix0rs-gnu-social.git] / actions / userrss.php
index b60cc5e0c7100982f0f37f518fccecf29777d513..99330af57f7edf9e3b260f58ba23b8b3f6e640b8 100644 (file)
@@ -29,8 +29,6 @@ class UserrssAction extends Rss10Action
 
     function prepare($args)
     {
-        common_debug("UserrssAction");
-
         parent::prepare($args);
         $nickname   = $this->trimmed('nickname');
         $this->user = User::staticGet('nickname', $nickname);
@@ -106,8 +104,8 @@ class UserrssAction extends Rss10Action
         $profile = $user->getProfile();
         if (!$profile) {
             common_log_db_error($user, 'SELECT', __FILE__);
-            // TRANS: Server error displayed in user RSS when user does not have a matching profile.
-            $this->serverError(_('User without matching profile.'));
+            // TRANS: Error message displayed when referring to a user without a profile.
+            $this->serverError(_('User has no profile.'));
             return null;
         }
         $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);