Commit ab577e45 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

Sorry, should be the other wa round.

parent 47b37d72
......@@ -4,7 +4,7 @@
// Please contribute!
function devel_exit() {
if (variable_get("devel_query", 1)) {
if (variable_get("dev_query", 1)) {
print devel_query_table();
}
}
......@@ -52,7 +52,7 @@ function devel_system($field) {
}
function devel_conf_options() {
$output = form_select(t("Display query log"), "devel_query", variable_get("devel_query", 1), array(t("Disabled"), t("Enabled")), t("Display a log of the database queries needed to generate the current page, the and the execution time for each. Also, a queries which are repeated during a single page view are summed in the # column, and printed in red since they are candidates for caching."));
$output = form_select(t("Display query log"), "dev_query", variable_get("dev_query", 1), array(t("Disabled"), t("Enabled")), t("Display a log of the database queries needed to generate the current page, the and the execution time for each. Also, a queries which are repeated during a single page view are summed in the # column, and printed in red since they are candidates for caching."));
$output .= form_textfield("Query execution threshhold", "devel_execution", variable_get("devel_execution", 5), 4, 4, t("Enter an integer in milliseconds. Any query which takes longer than this many milliseconds will be highlighted in the query log. This indicates a possibliy inefficient query, or a candidate for caching."));
return $output;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment