From: Mikael Nordfeldth Date: Thu, 4 Dec 2014 18:45:27 +0000 (+0100) Subject: Revert "Report a 404 not found if no posts found for User timeline" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e006b73505fc705998f5c72530174f3ce19046c1;p=quix0rs-gnu-social.git Revert "Report a 404 not found if no posts found for User timeline" This reverts commit 5295e8d4de9c20ee06c3219669f5824c492478f9. Just reply with an empty timeline... --- diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index aa6cfca458..b105a29dd1 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -252,11 +252,6 @@ class ApiTimelineUserAction extends ApiBareAuthAction } } - if (empty($notices)) { - // TRANS: When no posts were found with specific or default parameters - $this->clientError(_('Did not find any posts within search parameters'), 404); - } - return $notices; }