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

@@ -182,7 +182,7 @@ class OembedPlugin extends Plugin
case 'video':
case 'link':
if (!empty($oembed->html)
&& (StatusNet::isAjax() || common_config('attachments', 'show_html'))) {
&& (GNUsocial::isAjax() || common_config('attachments', 'show_html'))) {
require_once INSTALLDIR.'/extlib/htmLawed/htmLawed.php';
$config = array(
'safe'=>1,