From f7553d73a2aba7abe1bf0bf8eb665d55dce52e1c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 25 Feb 2015 16:31:02 +0100 Subject: [PATCH] 501 Not Implemented on timelines for remote users. --- actions/apitimelineuser.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index abc7fd6a96..e8c58e6e8b 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -79,6 +79,10 @@ class ApiTimelineUserAction extends ApiBareAuthAction $this->clientError(_('No such user.'), 404); } + if (!$this->target->isLocal()) { + $this->serverError(_('Remote user timelines are not available here yet.'), 501); + } + $this->notices = $this->getNotices(); return true;