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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user