$this->code = $code;
$this->message = $message;
- $this->minimal = StatusNet::isApi();
+ $this->minimal = GNUsocial::isApi();
// XXX: hack alert: usually we aren't going to
// call this page directly, but because it's
function showPage()
{
- if (StatusNet::isAjax()) {
+ if (GNUsocial::isAjax()) {
$this->extraHeaders();
$this->ajaxErrorMsg();
exit();