X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fattachmentlist.php;h=cf7c9acc147fe8ab24ddc0c525f5b6c5a43fff16;hb=3438a78c023d84c344200b5f2794c37ead83e539;hp=80f8cdb6804283cfae48ac2d54b803ae753311b3;hpb=5c25364141eca62ea99c4f81d55ab592273db518;p=quix0rs-gnu-social.git diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index 80f8cdb680..cf7c9acc14 100644 --- a/lib/attachmentlist.php +++ b/lib/attachmentlist.php @@ -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();