]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/all.php
Convert use of common_server_error and common_user_error to methods on Action
[quix0rs-gnu-social.git] / actions / all.php
index a8a74fb337bed8cbe83751742cd59b9603067d37..4ad7f12aee3deb798bc142937dad0a97187cbc19 100644 (file)
@@ -33,14 +33,14 @@ class AllAction extends StreamAction
         $user = User::staticGet('nickname', $nickname);
 
         if (!$user) {
-            $this->client_error(_('No such user.'));
+            $this->clientError(_('No such user.'));
             return;
         }
 
         $profile = $user->getProfile();
 
         if (!$profile) {
-            common_server_error(_('User has no profile.'));
+            $this->serverError(_('User has no profile.'));
             return;
         }