Use cachedQuery on File::getAttachments, plus other cleanups:
* dropped unnecessary join on notice table * made the function actually static, since it makes no sense as an instance variable. The only caller (in AttachmentList) is updated.
Showing
Please register or sign in to comment