Ticket #498 (closed defect: fixed)
count_cache_items called twice
| Reported by: | dmorton | Owned by: | dmorton |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.3 |
| Component: | PHP scripts | Version: | 1.0.2 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
On the welcome page, count_cache_items() is called twice, once for the quicklinks (in desert sand theme), and once for the main content. We could cache that count in a static variable (in the count_cache_items() function) and return that if it exists, to save a database call.
Change History
Note: See
TracTickets for help on using
tickets.

