function devel_query_enabled

Returns whether query logging is enabled.

Return value

boolean TRUE if the query log is enabled, FALSE otherwise.

2 calls to devel_query_enabled()
devel_boot in ./devel.module
Implements hook_boot().
devel_shutdown_real in ./devel.module
Runs on shutdown to display developer information in the footer.

File

./devel.module, line 1307

Code

function devel_query_enabled() {
    return method_exists('Database', 'getLog') && variable_get('devel_query_display', FALSE);
}