X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Ferror.php;h=03a1960c620bdc124836e16f276426b2f210185f;hb=3251ef3b518ef9db55fbab0693d8b0f654dcda58;hp=e7bdd0570703efc048c2e4b7481e3e9514132ad4;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/lib/error.php b/lib/error.php index e7bdd05707..03a1960c62 100644 --- a/lib/error.php +++ b/lib/error.php @@ -56,7 +56,7 @@ class ErrorAction extends InfoAction $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 @@ -66,7 +66,7 @@ class ErrorAction extends InfoAction function showPage() { - if (StatusNet::isAjax()) { + if (GNUsocial::isAjax()) { $this->extraHeaders(); $this->ajaxErrorMsg(); exit();