[Rt-commit] r3414 - in rt/branches/3.4-RELEASE: . lib/RT
kevinr at bestpractical.com
kevinr at bestpractical.com
Thu Jul 7 16:19:35 EDT 2005
Author: kevinr
Date: Thu Jul 7 16:19:34 2005
New Revision: 3414
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
Log:
r6055 at sad-girl-in-snow: kevinr | 2005-07-07 16:19:18 -0400
* Noted the deprecation of the *Ticket methods in the perldoc
* Corrected some copied-and-pasted-but-not-fully-updated error messages
Modified: rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm Thu Jul 7 16:19:34 2005
@@ -447,6 +447,8 @@
Returns a RT::ObjectCustomFieldValues object of this Field's values for TICKET.
TICKET is a ticket id.
+This is deprecated -- use ValuesForObject instead.
+
=cut
@@ -469,6 +471,8 @@
Adds a custom field value for a ticket. Takes a param hash of Ticket and Content
+This is deprecated -- use AddValueForObject instead.
+
=cut
sub AddValueForTicket {
@@ -476,7 +480,7 @@
my %args = ( Ticket => undef,
Content => undef,
@_ );
- $RT::Logger->debug( ref($self) . " -> AddValueForTicket deprecated in favor of ValuesForObject");
+ $RT::Logger->debug( ref($self) . " -> AddValueForTicket deprecated in favor of AddValueForObject");
my $ticket = RT::Ticket->new($self->CurrentUser);
@@ -494,6 +498,8 @@
Adds a custom field value for a ticket. Takes a param hash of Ticket and Content
+This is deprecated -- use DeleteValueForObject instead.
+
=cut
sub DeleteValueForTicket {
@@ -502,7 +508,7 @@
Content => undef,
@_ );
- $RT::Logger->debug( ref($self) . " -> DeleteValueForTicket deprecated in favor of ValuesForObject");
+ $RT::Logger->debug( ref($self) . " -> DeleteValueForTicket deprecated in favor of DeleteValueForObject");
my $ticket = RT::Ticket->new($self->CurrentUser);
More information about the Rt-commit
mailing list