StatusNet class renamed GNUsocial

also added backward compatible StatusNet class for the two calls I know
third party plugins use, isHTTPS and getActivePlugins
This commit is contained in:
Mikael Nordfeldth
2015-02-27 12:44:15 +01:00
parent f25e5e3860
commit 8fac7a9f6c
48 changed files with 520 additions and 502 deletions

View 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();