]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Oembed/OembedPlugin.php
StatusNet class renamed GNUsocial
[quix0rs-gnu-social.git] / plugins / Oembed / OembedPlugin.php
index a366103a021f92cca829e3c12039397ddfc34588..44e5d1a72bad57e2a46e38a2a3f7e72d741861d3 100644 (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,