]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/attachmentlistitem.php
StatusNet class renamed GNUsocial
[quix0rs-gnu-social.git] / lib / attachmentlistitem.php
index 919727bc1f8ff69beab70f7c573bdd6efad20974..47ffaaec239ff73eed942e78887596f414cc0ad4 100644 (file)
@@ -163,7 +163,7 @@ class AttachmentListItem extends Widget
 
                 case 'text/html':
                     if (!empty($this->attachment->filename)
-                            && (StatusNet::isAjax() || common_config('attachments', 'show_html'))) {
+                            && (GNUsocial::isAjax() || common_config('attachments', 'show_html'))) {
                         // Locally-uploaded HTML. Scrub and display inline.
                         $this->showHtmlFile($this->attachment);
                         break;