import rt 3.8.7
[freeside.git] / rt / lib / RT / Transactions_Overlay.pm
index 1429efa..af72c20 100644 (file)
@@ -1,8 +1,8 @@
 # BEGIN BPS TAGGED BLOCK {{{
 # 
 # COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC 
+# 
+# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
 #                                          <jesse@bestpractical.com>
 # 
 # (Except where explicitly superseded by other copyright notices)
@@ -45,6 +45,7 @@
 # those contributions and any derivatives thereof.
 # 
 # END BPS TAGGED BLOCK }}}
+
 =head1 NAME
 
   RT::Transactions - a collection of RT Transaction objects
 
 =head1 METHODS
 
-=begin testing
-
-ok (require RT::Transactions);
-
-=end testing
 
 =cut
 
@@ -90,32 +86,6 @@ sub _Init   {
 }
 # }}}
 
-=head2 Limit
-
-A wrapper around SUPER::Limit to catch migration issues
-
-=cut
-
-sub Limit {
-       my $self = shift;
-       my %args = (@_);
-
-       if ($args{'FIELD'} eq 'Ticket') {
-               Carp::cluck("Historical code calling RT::Transactions::Limit with a 'Ticket' at (". join(":",caller).").  This deprecated API will be deleted in 3.6");
-               $self->SUPER::Limit(FIELD => 'ObjectType', OPERATOR => '=', VALUE =>'RT::Ticket');
-               $args{'FIELD'} = 'ObjectId';
-               $self->SUPER::Limit(%args);
-
-       } else {
-
-               $self->SUPER::Limit(%args);
-       }
-
-
-}
-
-
-
 =head2 LimitToTicket TICKETID 
 
 Find only transactions for the ticket whose id is TICKETID.