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

@@ -97,12 +97,12 @@ require_once(INSTALLDIR.'/lib/plugin.php');
function addPlugin($name, array $attrs=array())
{
return StatusNet::addPlugin($name, $attrs);
return GNUsocial::addPlugin($name, $attrs);
}
function _have_config()
{
return StatusNet::haveConfig();
return GNUsocial::haveConfig();
}
function GNUsocial_class_autoload($cls)