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

@@ -386,11 +386,11 @@ class HTMLOutputter extends XMLOutputter
if (strpos($src, 'plugins/') === 0 || strpos($src, 'local/') === 0) {
$src = common_path($src, StatusNet::isHTTPS()) . '?version=' . GNUSOCIAL_VERSION;
$src = common_path($src, GNUsocial::isHTTPS()) . '?version=' . GNUSOCIAL_VERSION;
} else {
if (StatusNet::isHTTPS()) {
if (GNUsocial::isHTTPS()) {
$sslserver = common_config('javascript', 'sslserver');
@@ -493,7 +493,7 @@ class HTMLOutputter extends XMLOutputter
if(file_exists(Theme::file($src,$theme))){
$src = Theme::path($src, $theme);
}else{
$src = common_path($src, StatusNet::isHTTPS());
$src = common_path($src, GNUsocial::isHTTPS());
}
$src.= '?version=' . GNUSOCIAL_VERSION;
}