Revert "Report a 404 not found if no posts found for User timeline"

This reverts commit 5295e8d4de.

Just reply with an empty timeline...
This commit is contained in:
Mikael Nordfeldth 2014-12-04 19:45:27 +01:00
parent b81857656f
commit e006b73505
1 changed files with 0 additions and 5 deletions

View File

@ -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;
}