[Rt-commit] rt branch, 4.0/article-class-doc, created. rt-4.0.4-111-g0f21692

Thomas Sibley trs at bestpractical.com
Fri Dec 2 12:19:58 EST 2011


The branch, 4.0/article-class-doc has been created
        at  0f216920bafe88e919d893bbb7eafbf3bc32890a (commit)

- Log -----------------------------------------------------------------
commit 0f216920bafe88e919d893bbb7eafbf3bc32890a
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Dec 2 12:13:28 2011 -0500

    Update RT::Class->RemoveFromObject to talk about Classes not Custom Fields

diff --git a/lib/RT/Class.pm b/lib/RT/Class.pm
index 0b68f86..f01af5a 100644
--- a/lib/RT/Class.pm
+++ b/lib/RT/Class.pm
@@ -426,9 +426,7 @@ sub AddToObject {
 
 =head2 RemoveFromObject OBJECT
 
-Remove this custom field  for a single object, such as a queue or group.
-
-Takes an object
+Remove this class from a single queue object
 
 =cut
 
@@ -443,7 +441,7 @@ sub RemoveFromObject {
 
     my $ocf = $self->IsApplied( $id );
     unless ( $ocf ) {
-        return ( 0, $self->loc("This custom field does not apply to that object") );
+        return ( 0, $self->loc("This class does not apply to that object") );
     }
 
     # XXX: Delete doesn't return anything

-----------------------------------------------------------------------


More information about the Rt-commit mailing list