Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Commit

rt branch, create-action, updated. 68a0be13704109180b7fd6409c3b7aecb8a66da4

 

 

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded


sartak at bestpractical

Nov 9, 2009, 3:08 PM

Post #1 of 1 (192 views)
Permalink
rt branch, create-action, updated. 68a0be13704109180b7fd6409c3b7aecb8a66da4

The branch, create-action has been updated
via 68a0be13704109180b7fd6409c3b7aecb8a66da4 (commit)
from 1bf6b54164f888e16c6f6142a4b44b07a13af8cc (commit)

Summary of changes:
lib/RT/Model/Transaction.pm | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)

- Log -----------------------------------------------------------------
commit 68a0be13704109180b7fd6409c3b7aecb8a66da4
Author: Shawn M Moore <sartak [at] bestpractical>
Date: Mon Nov 9 18:08:05 2009 -0500

Kill old bad API

diff --git a/lib/RT/Model/Transaction.pm b/lib/RT/Model/Transaction.pm
index 49c7a84..c003dd1 100755
--- a/lib/RT/Model/Transaction.pm
+++ b/lib/RT/Model/Transaction.pm
@@ -1158,21 +1158,6 @@ sub update_custom_fields {
my $self = shift;
my %args = (@_);

- # This method used to have an API that took a hash of a single
- # value "args_ref", which was a reference to a hash of arguments.
- # This was insane. The next few lines of code preserve that API
- # while giving us something saner.
-
- # TODO: 3.6: DEPRECATE OLD API
-
- my $args;
-
- if ( $args{'args_ref'} ) {
- $args = $args{args_ref};
- } else {
- $args = \%args;
- }
-
foreach my $arg ( keys %$args ) {
next
unless ( $arg =~ /^(?:object-RT::Model::Transaction--)?CustomField-(\d+)/ );

-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit [at] lists
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.