]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/attachmentlist.php
Revert "Add an indicator saying to whom a notice is addressed"
[quix0rs-gnu-social.git] / lib / attachmentlist.php
index 80f8cdb6804283cfae48ac2d54b803ae753311b3..cf7c9acc147fe8ab24ddc0c525f5b6c5a43fff16 100644 (file)
@@ -76,8 +76,7 @@ class AttachmentList extends Widget
      */
     function show()
     {
-        $atts = new File;
-        $att = $atts->getAttachments($this->notice->id);
+        $att = File::getAttachments($this->notice->id);
         if (empty($att)) return 0;
         $this->showListStart();