diff options
author | friendica <info@friendica.com> | 2013-02-09 04:22:11 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-09 04:22:11 -0800 |
commit | 6022a9e9cdf12d60a138f06300285f231d2c2976 (patch) | |
tree | 21cd3bb0d074a022c2f93c27df18d458037474be /boot.php | |
parent | d8c667288ecf6cd358751df250f2b45e476ff40c (diff) | |
download | volse-hubzilla-6022a9e9cdf12d60a138f06300285f231d2c2976.tar.gz volse-hubzilla-6022a9e9cdf12d60a138f06300285f231d2c2976.tar.bz2 volse-hubzilla-6022a9e9cdf12d60a138f06300285f231d2c2976.zip |
more profiling - cache the qcomment list so we don't have to look it up for every rendered item
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1883,6 +1883,8 @@ if(! function_exists('load_contact_links')) { if(! $uid || x($a->contacts,'empty')) return; + logger('load_contact_links'); + $r = q("SELECT abook_id, abook_flags, abook_my_perms, abook_their_perms, xchan_hash, xchan_photo_m, xchan_name, xchan_url from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and not (abook_flags & %d) ", intval($uid), intval(ABOOK_FLAG_SELF) |