[Rt-commit] rt branch, 4.2/remove-deprecations, updated. rt-4.0.6-461-g1ed810c
Kevin Falcone
falcone at bestpractical.com
Wed Nov 14 16:25:45 EST 2012
The branch, 4.2/remove-deprecations has been updated
via 1ed810ca43a7c8b10ed53d48ed5c2901af2920ab (commit)
from e9b8914a3a7be465a177465b239087e0c45f356d (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 18 ------------------
1 file changed, 18 deletions(-)
- Log -----------------------------------------------------------------
commit 1ed810ca43a7c8b10ed53d48ed5c2901af2920ab
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Nov 14 16:14:54 2012 -0500
Remove the ProcessTicketCustomFieldUpdates backcompat wrapper
This was added during 3.3 as a wrapper for the 3.2-era method where we
only had Ticket Custom Fields.
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 3907b05..d03ef80 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -2464,24 +2464,6 @@ sub ProcessTicketReminders {
return @results;
}
-sub ProcessTicketCustomFieldUpdates {
- my %args = @_;
- $args{'Object'} = delete $args{'TicketObj'};
- my $ARGSRef = { %{ $args{'ARGSRef'} } };
-
- # Build up a list of objects that we want to work with
- my %custom_fields_to_mod;
- foreach my $arg ( keys %$ARGSRef ) {
- if ( $arg =~ /^Ticket-(\d+-.*)/ ) {
- $ARGSRef->{"Object-RT::Ticket-$1"} = delete $ARGSRef->{$arg};
- } elsif ( $arg =~ /^CustomField-(\d+-.*)/ ) {
- $ARGSRef->{"Object-RT::Ticket--$1"} = delete $ARGSRef->{$arg};
- }
- }
-
- return ProcessObjectCustomFieldUpdates( %args, ARGSRef => $ARGSRef );
-}
-
sub ProcessObjectCustomFieldUpdates {
my %args = @_;
my $ARGSRef = $args{'ARGSRef'};
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list