[freeside-commits] branch FREESIDE_2_3_BRANCH updated. def9b0f3c02351c4da55ff8b47dcb7125b0a7581

Ivan ivan at 420.am
Mon Aug 13 23:57:01 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  def9b0f3c02351c4da55ff8b47dcb7125b0a7581 (commit)
      from  2ef0feae2aea8ec88dba7e5467c9cae8f26f773c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit def9b0f3c02351c4da55ff8b47dcb7125b0a7581
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Aug 13 23:57:00 2012 -0700

    clean up various other RT initialization inconsistancy, RT#18719

diff --git a/httemplate/elements/select-rt-customfield.html b/httemplate/elements/select-rt-customfield.html
index 7a45bb1..85758d5 100644
--- a/httemplate/elements/select-rt-customfield.html
+++ b/httemplate/elements/select-rt-customfield.html
@@ -3,9 +3,6 @@
 <OPTION VALUE="<% shift @fields %>"><% shift @fields %></OPTION>
 % }
 </SELECT>
-<%once>
-RT::Init();
-</%once>
 <%init>
 my %opt = @_;
 my $lookuptype = $opt{lookuptype};
diff --git a/httemplate/misc/timeworked.html b/httemplate/misc/timeworked.html
index 672fad8..e439282 100755
--- a/httemplate/misc/timeworked.html
+++ b/httemplate/misc/timeworked.html
@@ -99,8 +99,6 @@ my(%ticketmap, %ticket, %customers);
 my $title = 'Assign Time Worked';
 tie %ticketmap, 'Tie::IxHash';
 
-RT::Init();
-
 my $CurrentUser = RT::CurrentUser->new();
 $CurrentUser->LoadByName($FS::CurrentUser::CurrentUser->username);
 
diff --git a/httemplate/search/report_rt_ticket.html b/httemplate/search/report_rt_ticket.html
index f0d7a42..a4ceaa6 100644
--- a/httemplate/search/report_rt_ticket.html
+++ b/httemplate/search/report_rt_ticket.html
@@ -59,7 +59,6 @@ if ( @pkgparts ) {
 }
 
 # get a list of TimeValue-type custom fields
-RT::Init();
 my $CurrentUser = RT::CurrentUser->new();
 $CurrentUser->LoadByName($FS::CurrentUser::CurrentUser->username);
 die "RT not configured" unless $CurrentUser->id;

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

Summary of changes:
 httemplate/elements/select-rt-customfield.html |    3 ---
 httemplate/misc/timeworked.html                |    2 --
 httemplate/search/report_rt_ticket.html        |    1 -
 3 files changed, 0 insertions(+), 6 deletions(-)




More information about the freeside-commits mailing list