]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Use cachedQuery on File::getAttachments, plus other cleanups:
authorBrion Vibber <brion@pobox.com>
Mon, 31 Jan 2011 20:22:50 +0000 (12:22 -0800)
committerBrion Vibber <brion@pobox.com>
Mon, 31 Jan 2011 20:22:50 +0000 (12:22 -0800)
commitb896a37da0b2ce78802c3e0007084fe739b2ba0d
tree2087a076b3043f10bd10eb8345aa68ed999fd3dc
parent2a29738dc1240b534c1eb1e60472e42168ee5d05
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.
classes/File.php
lib/attachmentlist.php