[Bps-public-commit] rt-extension-timetracking-automatic branch, master, updated. 23200e39a10663fbd7feee01cad1610970aee53a

Dave Goehrig dave at bestpractical.com
Wed Sep 14 11:12:25 EDT 2016


The branch, master has been updated
       via  23200e39a10663fbd7feee01cad1610970aee53a (commit)
      from  14d2a2ddeba34e45efa4512a113fa8ac9a09fff9 (commit)

Summary of changes:
 gitignore => .gitignore                                               | 0
 .../Ticket/Update.html/AfterWorked                                    | 1 -
 .../Ticket/Update.html/BeforeDisplay                                  | 4 ----
 3 files changed, 5 deletions(-)
 rename gitignore => .gitignore (100%)

- Log -----------------------------------------------------------------
commit 23200e39a10663fbd7feee01cad1610970aee53a
Author: Dave Goehrig <dave at bestpractical.com>
Date:   Wed Sep 14 11:12:15 2016 -0400

    clean up info logging

diff --git a/gitignore b/.gitignore
similarity index 100%
rename from gitignore
rename to .gitignore
diff --git a/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/AfterWorked b/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/AfterWorked
index 7ad2fa8..bfc7108 100644
--- a/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/AfterWorked
+++ b/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/AfterWorked
@@ -3,6 +3,5 @@ $Ticket
 </%args>
 <%init>
 my $time = time;
-RT->Logger->info("in TimeTrackingAutomatic callback at $time");
 </%init>
 <input type="hidden" class="hidden" name="TimeTrackingAutomatic" value="<% time %>" /> <!-- time that this update was started -->
diff --git a/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/BeforeDisplay b/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/BeforeDisplay
index 3bd2c2a..5007fc4 100644
--- a/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/BeforeDisplay
+++ b/html/Callbacks/RT-Extension-TimeTracking-Automatic/Ticket/Update.html/BeforeDisplay
@@ -3,10 +3,6 @@ $Ticket
 $ARGSRef
 </%args>
 <%init>
-
-RT->Logger->info("in before display");
 my $worked = POSIX::ceil((time - $$ARGSRef{TimeTrackingAutomatic})/60);	# at least 1 minute
-RT->Logger->info("worked $worked");
 $Ticket->SetTimeWorked( $worked + $Ticket->TimeWorked );
-
 </%init>

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


More information about the Bps-public-commit mailing list