[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-928-gdd62591

Shawn Moore sartak at bestpractical.com
Mon Sep 27 23:26:13 EDT 2010


The branch, query-logging has been updated
       via  dd62591258b0329781a6d950f693404d907f85e6 (commit)
      from  f74f3ff14f6342eabcb89d795096303817187011 (commit)

Summary of changes:
 share/html/Admin/Tools/Queries.html |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit dd62591258b0329781a6d950f693404d907f85e6
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Sep 27 23:29:17 2010 -0400

    Warn users that they need StatementLog for this

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index 53d62da..26d9b0f 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -58,4 +58,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
     Title => $title &>
 
 <&|/Widgets/TitleBox, title => loc('SQL Queries') &>
+% if (!RT->Config->Get('StatementLog')) {
+    <p><&|/l&>You must set StatementLog to true to enable this query history page.</&></p>
+% }
 </&>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list