if (!in_array($this->format, array('xml', 'json'))) {
// TRANS: Client error displayed when coming across a non-supported API method.
$this->clientError(_('API method not found.'), $code = 404);
- return;
}
$twitter_user = $this->twitterUserArray($this->auth_user->getProfile(), true);