diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index 97462452f2..b105a29dd1 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -224,7 +224,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction break; default: // TRANS: Client error displayed when coming across a non-supported API method. - $this->clientError(_('API method not found.'), $code = 404); + $this->clientError(_('API method not found.'), 404); } }