[Rt-commit] r14259 - in rt/branches/3.999-DANGEROUS: . etc lib/RT lib/RT/Interface share/html/Install share/html/Search/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jul 18 05:04:38 EDT 2008


Author: sunnavy
Date: Fri Jul 18 05:04:10 2008
New Revision: 14259

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/etc/RT_Config.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm
   rt/branches/3.999-DANGEROUS/share/html/Install/index.html
   rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectPersonType
   rt/branches/3.999-DANGEROUS/t/ticket/linking.t

Log:
 r14684 at sunnavys-mb:  sunnavy | 2008-07-18 16:28:42 +0800
 Organization => organization


Modified: rt/branches/3.999-DANGEROUS/etc/RT_Config.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/etc/RT_Config.pm	(original)
+++ rt/branches/3.999-DANGEROUS/etc/RT_Config.pm	Fri Jul 18 05:04:10 2008
@@ -62,7 +62,7 @@
 
 
 
-=item C<$Organization>
+=item C<$organization>
 
 You should set this to your organization's DNS domain. For example,
 I<fsck.com> or I<asylum.arkham.ma.us>. It's used by the linking interface to
@@ -70,7 +70,7 @@
 
 =cut
 
-set($Organization , "example.com");
+set($organization , "example.com");
 
 =item C<$MinimumPasswordLength>
 
@@ -522,7 +522,7 @@
 =cut
 
 # set($VERPPrefix, 'rt-');
-# set($VERPDomain, $RT::Organization);
+# set($VERPDomain, $RT::organization);
 
 
 =item C<$ForwardFromUser>

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm	Fri Jul 18 05:04:10 2008
@@ -299,7 +299,7 @@
     }
 
     # make organization the same as rtname
-    $RT::Installer->{InstallConfig}{Organization} =
+    $RT::Installer->{InstallConfig}{organization} =
       $RT::Installer->{InstallConfig}{rtname};
 
     if ( open my $fh, '>', $file ) {

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm	Fri Jul 18 05:04:10 2008
@@ -1159,7 +1159,7 @@
     my $errors_to = parse_errors_to_address_from_head($head);
 
     my $message_id = $head->get('Message-ID')
-        || "<no-message-id-" . time . rand(2000) . '@' . RT->config->get('Organization') . '>';
+        || "<no-message-id-" . time . rand(2000) . '@' . RT->config->get('organization') . '>';
 
     #Pull apart the subject line
     my $subject = $head->get('subject') || '';

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/index.html	Fri Jul 18 05:04:10 2008
@@ -89,7 +89,7 @@
         $RT::Installer->{InstallConfig} ||= {};
         for my $field  ( qw/DatabaseType DatabaseName DatabaseHost DatabasePort
                 DatabaseUser DatabaseRequireSSL rtname
-                Organization TimeZone CommentAddress CorrespondAddress 
+                organization TimeZone CommentAddress CorrespondAddress 
                 SendmailPath WebDomain WebPort/ ) {
             $RT::Installer->{InstallConfig}{$field} ||= RT->config->get($field);
         }

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectPersonType
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectPersonType	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Elements/SelectPersonType	Fri Jul 18 05:04:10 2008
@@ -72,7 +72,7 @@
    @types = qw(Requestor Cc AdminCc Watcher Owner);
 }
 
-my @subtypes = qw(email name real_name Nickname Organization Address1 Address2 WorkPhone HomePhone MobilePhone PagerPhone id);
+my @subtypes = qw(email name real_name Nickname organization Address1 Address2 WorkPhone HomePhone MobilePhone PagerPhone id);
 
 </%INIT>
 <%ARGS>

Modified: rt/branches/3.999-DANGEROUS/t/ticket/linking.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/ticket/linking.t	(original)
+++ rt/branches/3.999-DANGEROUS/t/ticket/linking.t	Fri Jul 18 05:04:10 2008
@@ -349,19 +349,19 @@
     };
 }
 
-($id,$msg) = $link->create( base => "not_ticket::$RT::Organization/notticket/$$", target => $ticket2->uri, type => 'MyLinkType' );
+($id,$msg) = $link->create( base => "not_ticket::$RT::organization/notticket/$$", target => $ticket2->uri, type => 'MyLinkType' );
 ok($id, $msg);
 ok($link->local_base   == 0,            "local_Base set correctly");
 ok($link->local_target == $ticket2->id, "local_target set correctly");
 
-($id,$msg) = $link->create( target => "not_ticket::$RT::Organization/notticket/$$", base => $ticket->uri, type => 'MyLinkType' );
+($id,$msg) = $link->create( target => "not_ticket::$RT::organization/notticket/$$", base => $ticket->uri, type => 'MyLinkType' );
 ok($id, $msg);
 ok($link->local_target == 0,           "local_target set correctly");
 ok($link->local_base   == $ticket->id, "local_base set correctly");
 
 ($id,$msg) = $link->create(
-                       target => "not_ticket::$RT::Organization/notticket/1$$",
-                       base   => "not_ticket::$RT::Organization/notticket/$$",
+                       target => "not_ticket::$RT::organization/notticket/1$$",
+                       base   => "not_ticket::$RT::organization/notticket/$$",
                        type => 'MyLinkType' );
 
 ok($id, $msg);


More information about the Rt-commit mailing list