[Bps-public-commit] r17180 - RT-BugTracker-Public/html/Public/Bug

ruz at bestpractical.com ruz at bestpractical.com
Fri Dec 12 02:30:06 EST 2008


Author: ruz
Date: Fri Dec 12 02:30:05 2008
New Revision: 17180

Modified:
   RT-BugTracker-Public/html/Public/Bug/Display.html

Log:
* delete debug logging on critical level

Modified: RT-BugTracker-Public/html/Public/Bug/Display.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Display.html	(original)
+++ RT-BugTracker-Public/html/Public/Bug/Display.html	Fri Dec 12 02:30:05 2008
@@ -107,7 +107,6 @@
     unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
 	Abort("No permission to view newly created ticket #".$TicketObj->id.".");
 	}
-        $RT::Logger->crit("Just created the ticket");
     # }}}
 } else { 
     if (!$TicketObj) {
@@ -153,26 +152,19 @@
 
 
 
-$RT::Logger->crit("About to check for actions to prepare for a redirect");
 if (@Actions) {
-    $RT::Logger->crit("We have actions. time to redirect"); 
     # We've done something, so we need to clear the decks to avoid 
     # resubmission on refresh.
     # But we need to store Actions somewhere too, so we don't lose them.
     $session{"Actions"} = \@Actions;
     $m->redirect( $RT::WebPath ."/Ticket/Display.html?id=".$TicketObj->id);
-    $RT::Logger->crit("Set up the redirect");
     $m->abort();
-    $RT::Logger->crit("Aborted. Should never be called");
+    $RT::Logger->error("Aborted. Should never be called");
 } else {
-    $RT::Logger->crit("We're not redirecting. load up some actions if they exist");
     @Actions = @{$session{"Actions"} || [] };
     delete $session{"Actions"};
 }
 
-$RT::Logger->crit("We're past the point where any redirect happens");
-
-
 $m->comp('/Elements/Callback', _CallbackName => 'BeforeDisplay',
 	 TicketObj => \$TicketObj, Tickets => \$Tickets, ARGSRef => \%ARGS);
 



More information about the Bps-public-commit mailing list