[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] [rtir] 08/09: Call for attachments directly
From:       Kevin Falcone <falcone () bestpractical ! com>
Date:       2014-03-28 21:44:31
Message-ID: 20140328214432.07E952418005 () booth ! bestpractical ! com
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch master
in repository rtir.

commit 733e5350d310e9aa3b0e746c9716be3fbb9252a5
Author: Jim Brandt <jbrandt@bestpractical.com>
Date:   Fri Mar 7 14:08:20 2014 -0500

    Call for attachments directly
    
    /Ticket/Elements/FindAttachments was removed in RT since it was
    just a wrapper around a call to Attachments. Call the
    method directly.
---
 html/RTIR/Display.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/RTIR/Display.html b/html/RTIR/Display.html
index f1124ba..1af9079 100644
--- a/html/RTIR/Display.html
+++ b/html/RTIR/Display.html
@@ -241,7 +241,7 @@ if (defined $Ticket->TimeLeft && $Ticket->TimeLeft > 0 ) {
     $TimeWorked .= "/".$Ticket->TimeLeft;
 }
 
-my $attachments = $m->comp('/Ticket/Elements/FindAttachments', Ticket => $Ticket);
+my $attachments = $Ticket->Attachments;
 
 </%INIT>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic