exit(1);
}
-require_once INSTALLDIR . '/lib/apiauth.php';
-
/**
* Show a list of direct messages from or to the authenticating user
*
$this->showJsonDirectMessages();
break;
default:
- // TRANS: Client error given when an API method was not found (404).
+ // TRANS: Client error displayed when coming across a non-supported API method.
$this->clientError(_('API method not found.'), $code = 404);
break;
}