You are here

function boost_count_core_db in Boost 6

Counts the number of pages in the core cache.

1 call to boost_count_core_db()
boost_admin_performance_page in ./boost.admin.inc
Performs alterations to the system settings form before it is rendered.

File

./boost.admin.inc, line 1580
All the code for the Boost module's administrative interface.

Code

function boost_count_core_db($all = FALSE) {
  return db_result(db_query("SELECT COUNT(*) FROM {cache_page}"));
}