[Rt-commit] rt branch, query-logging, updated. rt-3.9.4-55-ge6dbd80
Shawn Moore
sartak at bestpractical.com
Wed Sep 29 20:43:37 EDT 2010
The branch, query-logging has been updated
via e6dbd80ab74c83dfaa23d4b89f572875741aaeb4 (commit)
from f34f0a8e1fb511b588fe2642e10304ebf23cc352 (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit e6dbd80ab74c83dfaa23d4b89f572875741aaeb4
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Sep 29 20:42:31 2010 -0400
Log recorded SQL statements after the Footer
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index a92df72..63d6664 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -217,12 +217,13 @@ sub HandleRequest {
$HTML::Mason::Commands::m->callback( %$ARGS, CallbackName => 'Default', CallbackPage => '/autohandler' );
ShowRequestedPage($ARGS);
+
+ $HTML::Mason::Commands::m->comp( '/Elements/Footer', %$ARGS );
+
LogRecordedSQLStatements(RequestData => {
Path => $HTML::Mason::Commands::m->request_comp->path,
});
- $HTML::Mason::Commands::m->comp( '/Elements/Footer', %$ARGS );
-
# Process per-page final cleanup callbacks
$HTML::Mason::Commands::m->callback( %$ARGS, CallbackName => 'Final', CallbackPage => '/autohandler' );
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list