Navigation Menu

Skip to content

Commit

Permalink
Remove unused function helper_show_query_count
Browse files Browse the repository at this point in the history
Issue #25446
  • Loading branch information
atrol committed Feb 24, 2019
1 parent 4ef6342 commit 9be5a95
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/helper_api.php
Expand Up @@ -601,14 +601,6 @@ function helper_log_to_page() {
return config_get_global( 'log_destination' ) === 'page' && auth_is_user_authenticated() && access_has_global_level( config_get( 'show_log_threshold' ) );
}

/**
* returns a boolean indicating whether SQL queries executed should be shown or not.
* @return boolean
*/
function helper_show_query_count() {
return ON == config_get_global( 'show_queries_count' );
}

/**
* Return a URL relative to the web root, compatible with other applications
* @param string $p_url A relative URL to a page within Mantis.
Expand Down

0 comments on commit 9be5a95

Please sign in to comment.