]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Bookmark/actions/apitimelinebookmarks.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / plugins / Bookmark / actions / apitimelinebookmarks.php
index 4cc0dcde7f74d2bacd549e43553aba338f804557..01ef20a8c83c4a6aa20f0ae2043c8548ac9c70c3 100644 (file)
@@ -66,7 +66,6 @@ class ApiTimelineBookmarksAction extends ApiBareAuthAction
         if (empty($this->user)) {
             // TRANS: Client error displayed when requesting most recent favourite notices by a user for a non-existing user.
             $this->clientError(_('No such user.'), 404, $this->format);
-            return;
         }
 
         $this->notices = $this->getNotices();
@@ -172,7 +171,6 @@ class ApiTimelineBookmarksAction extends ApiBareAuthAction
         default:
             // TRANS: Client error displayed when coming across a non-supported API method.
             $this->clientError(_('API method not found.'), $code = 404);
-            break;
         }
     }