[Rt-commit] r14155 - in rt/branches/3.999-DANGEROUS: lib/RT/Model share/html/REST/1.0/Forms/user

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jul 16 08:55:16 EDT 2008


Author: sunnavy
Date: Wed Jul 16 08:55:13 2008
New Revision: 14155

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
   rt/branches/3.999-DANGEROUS/share/html/REST/1.0/Forms/user/default

Log:
 r14543 at sunnavys-mb:  sunnavy | 2008-07-16 18:05:19 +0800
 


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm	Wed Jul 16 08:55:13 2008
@@ -97,13 +97,13 @@
         type is 'varchar(16)', default is '';
     column
 
-        ExternalContactInfoId => max_length is 100,
+        external_contact_info_id => max_length is 100,
         type is 'varchar(100)', default is '';
     column
-        ContactInfoSystem => max_length is 30,
+        contact_info_system => max_length is 30,
         type is 'varchar(30)', default is '';
     column
-        ExternalAuthId => max_length is 100,
+        external_auth_id => max_length is 100,
         type is 'varchar(100)', default is '';
     column
         auth_system => max_length is 30,
@@ -122,17 +122,17 @@
         pager_phone => max_length is 30,
         type is 'varchar(30)', default is '';
     column
-        Address1 => max_length is 200,
+        address1 => max_length is 200,
         type is 'varchar(200)', default is '';
     column
-        Address2 => max_length is 200,
+        address2 => max_length is 200,
         type is 'varchar(200)', default is '';
     column city     => max_length is 100, type is 'varchar(100)', default is '';
     column state    => max_length is 100, type is 'varchar(100)', default is '';
     column zip      => max_length is 16,  type is 'varchar(16)',  default is '';
     column country  => max_length is 50,  type is 'varchar(50)',  default is '';
     column timezone => max_length is 50,  type is 'varchar(50)',  default is '';
-    column PGPKey   => type is 'text';
+    column pgp_key   => type is 'text';
 
 };
 

Modified: rt/branches/3.999-DANGEROUS/share/html/REST/1.0/Forms/user/default
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/REST/1.0/Forms/user/default	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/REST/1.0/Forms/user/default	Wed Jul 16 08:55:13 2008
@@ -57,11 +57,11 @@
 my ($c, $o, $k, $e) = ("", [], {}, 0);
 my %data = %$changes;
 my $user = RT::Model::User->new() ;
-my @fields = qw(real_name nickname gecos organization Address1 Address2 city
+my @fields = qw(real_name nickname gecos organization address1 address2 city
                 state zip country home_phone work_phone mobile_phone pager_phone
                 freeform_contact_info comments signature lang email_encoding
-                web_encoding ExternalContactInfoId ContactInfoSystem
-                ExternalAuthid AuthSystem privileged Disabled);
+                web_encoding external_contact_info_id contact_info_system
+                external_auth_id auth_system privileged disabled);
 my %fields = map { lc $_ => $_ } @fields;
 
 if ($id ne 'new') {


More information about the Rt-commit mailing list