[Rt-commit] rt branch, 4.2/remove-ocfs-customfields-method, created. rt-4.0.1-240-gff0e992

Alex Vandiver alexmv at bestpractical.com
Fri Jul 22 16:19:56 EDT 2011


The branch, 4.2/remove-ocfs-customfields-method has been created
        at  ff0e9929e1b4eadcecfa5f76201d9e6affaf3401 (commit)

- Log -----------------------------------------------------------------
commit ff0e9929e1b4eadcecfa5f76201d9e6affaf3401
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Jul 22 16:19:05 2011 -0400

    The last call site for OCFs->CustomFields was removed in 2eaeeef during admin refactoring
    
    As the method is not useful, simply remove it.

diff --git a/lib/RT/ObjectCustomFields.pm b/lib/RT/ObjectCustomFields.pm
index fa2a69e..4c7a119 100644
--- a/lib/RT/ObjectCustomFields.pm
+++ b/lib/RT/ObjectCustomFields.pm
@@ -122,12 +122,6 @@ sub HasEntryForCustomField {
     }  
 }
 
-sub CustomFields {
-    my $self = shift;
-    my %seen;
-    map { $_->CustomFieldObj } @{$self->ItemsArrayRef};
-}
-
 sub _DoSearch {
     my $self = shift;
     if ($self->{'_cfs_alias'}) {

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


More information about the Rt-commit mailing list