From: Evan Prodromou Date: Tue, 2 Aug 2011 22:22:06 +0000 (-0400) Subject: use Notice::attachments() to get attachments for a notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cab0958f5506aa4a3fd3e4bbd9be4c67b1531d3;p=quix0rs-gnu-social.git use Notice::attachments() to get attachments for a notice --- diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index cf7c9acc14..a93a6842bb 100644 --- a/lib/attachmentlist.php +++ b/lib/attachmentlist.php @@ -76,7 +76,7 @@ class AttachmentList extends Widget */ function show() { - $att = File::getAttachments($this->notice->id); + $att = $this->notice->attachments(); if (empty($att)) return 0; $this->showListStart();