Changeset 1794
- Timestamp:
- 04/07/08 23:09:01 (8 months ago)
- Files:
-
- branches/release-34/php/lib/mtdb_base.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-34/php/lib/mtdb_base.php
r1777 r1794 809 809 $id_list[] = $e['entry_id']; 810 810 $entries[] = $e; 811 $this->_comment_count_cache[$e['entry_id']] = $e['entry_comment_count']; 812 $this->_ping_count_cache[$e['entry_id']] = $e['entry_ping_count']; 811 813 if (($limit > 0) && (count($entries) >= $limit)) break; 812 814 } … … 925 927 if (count($id_list) <= 30) { # TODO: find a good upper limit 926 928 # pre-cache comment counts and categories for these entries 927 $this->cache_comment_counts($id_list);928 $this->cache_ping_counts($id_list);929 929 $this->cache_categories($id_list); 930 930 $this->cache_permalinks($id_list);
