Commit 47b37d72 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

Small fix:

dev_query => devel_query
parent 22c2656f
......@@ -4,7 +4,7 @@
// Please contribute!
function devel_exit() {
if (variable_get("dev_query", 1)) {
if (variable_get("devel_query", 1)) {
print devel_query_table();
}
}
......@@ -52,9 +52,9 @@ function devel_system($field) {
}
function devel_conf_options() {
$output = form_select(t("Display query log"), "devel_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_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_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;
}
?>
\ No newline at end of file
?>
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