]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/error.php
StatusNet class renamed GNUsocial
[quix0rs-gnu-social.git] / lib / error.php
index e7bdd0570703efc048c2e4b7481e3e9514132ad4..03a1960c620bdc124836e16f276426b2f210185f 100644 (file)
@@ -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();