[Rt-commit] rt branch, admin_ui, updated. 137178a3142bb12da6378aaef458fdf1f892f39b

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jan 4 02:23:01 EST 2010


The branch, admin_ui has been updated
       via  137178a3142bb12da6378aaef458fdf1f892f39b (commit)
      from  c31e53eb1fc8bedcab199807989e95347111a1ec (commit)

Summary of changes:
 lib/RT/Model/CustomField.pm |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

- Log -----------------------------------------------------------------
commit 137178a3142bb12da6378aaef458fdf1f892f39b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Jan 4 15:22:04 2010 +0800

    dup and typo fix

diff --git a/lib/RT/Model/CustomField.pm b/lib/RT/Model/CustomField.pm
index 78fef6c..d4c2e96 100755
--- a/lib/RT/Model/CustomField.pm
+++ b/lib/RT/Model/CustomField.pm
@@ -306,18 +306,8 @@ sub create {
         $self->set_include_content_for_value( $args{'include_content_for_value'} );
     }
 
-    
-
     if ( exists $args{'values_class'} ) {
         $self->set_values_class( $args{'values_class'} );
-    if ( exists $args{'link_value_to'} ) {
-        $self->set_link_value_to( $args{'link_value_to'} );
-    }
-
-    if ( exists $args{'include_content_for_value'} ) {
-        $self->set_include_content_for_value( $args{'include_content_for_value'} );
-    }
-
     }
 
     return ( $rv, $msg ) unless exists $args{'queue'};
@@ -1204,9 +1194,9 @@ sub link_value_to {
 
 }
 
-=head2 _urltemplate  name [value]
+=head2 url_template  name [value]
 
-With one argument, returns the _URLTemplate named C<name>, but only if
+With one argument, returns the url_template named C<name>, but only if
 the current user has the right to see this custom field.
 
 With two arguments, attemptes to set the relevant template value.

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


More information about the Rt-commit mailing list