[Bps-public-commit] r16863 - in sd/trunk/lib/App/SD: CLI/Command/Help

jesse at bestpractical.com jesse at bestpractical.com
Sun Nov 16 09:59:29 EST 2008


Author: jesse
Date: Sun Nov 16 09:59:28 2008
New Revision: 16863

Modified:
   sd/trunk/lib/App/SD/CLI/Command/Help/Config.pm
   sd/trunk/lib/App/SD/Model/Ticket.pm

Log:
* reporter_email -> email_address

Modified: sd/trunk/lib/App/SD/CLI/Command/Help/Config.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Help/Config.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Help/Config.pm	Sun Nov 16 09:59:28 2008
@@ -13,7 +13,7 @@
 
   Currently, the following configuration variables are available:
 
-  reporter_email = foo\@bar.com
+  email_address = foo\@bar.com
     Specifies an email address to use as the default for tickets'
     reported_by field.
 

Modified: sd/trunk/lib/App/SD/Model/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Ticket.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Ticket.pm	Sun Nov 16 09:59:28 2008
@@ -30,13 +30,13 @@
 =head2 default_prop_reported_by
 
 Returns a string of the default value of the C<reported_by> prop.
-(Currently, this is the config variable C<reporter_email> or
+(Currently, this is the config variable C<email_address> or
 the environmental variable C<EMAIL>.)
 
 =cut
 
 sub default_prop_reported_by {
-    shift->app_handle->config->get('reporter_email') or $ENV{EMAIL}
+    shift->app_handle->config->get('email_address') or $ENV{EMAIL}
 }
 
 =head2 canonicalize_prop_status



More information about the Bps-public-commit mailing list