kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2011-12-08 07:02 am

[dw-free] Refactor user email sending into LJ::User method

[commit: http://hg.dwscoalition.org/dw-free/rev/3ea6b65d559c]

http://bugs.dwscoalition.org/show_bug.cgi?id=3946

Remove trailing whitespace.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/DW/Shop/Item/Account.pm
  • cgi-bin/DW/Shop/Item/Points.pm
  • cgi-bin/DW/Shop/Item/Rename.pm
--------------------------------------------------------------------------------
diff -r 141a2c2d6cd3 -r 3ea6b65d559c cgi-bin/DW/Shop/Item/Account.pm
--- a/cgi-bin/DW/Shop/Item/Account.pm	Wed Dec 07 21:51:31 2011 +0000
+++ b/cgi-bin/DW/Shop/Item/Account.pm	Thu Dec 08 01:02:37 2011 -0600
@@ -25,7 +25,7 @@
 
 =head1 NAME
 
-DW::Shop::Item::Account - Represents a paid account that someone is purchasing. See 
+DW::Shop::Item::Account - Represents a paid account that someone is purchasing. See
 the documentation for DW::Shop::Item for usage examples and description of methods
 inherited from that base class.
 
@@ -36,11 +36,11 @@
 Instantiates an account of some sort to be purchased.
 
 Arguments:
-=item ( see DW::Shop::Item ), 
+=item ( see DW::Shop::Item ),
 =item months => number of months of paid time,
 =item class => type of paid account,
 =item random => 1 (if gifting paid time to a random user),
-=item anonymous_target => 1 (if random user should be anonymous, not identified) 
+=item anonymous_target => 1 (if random user should be anonymous, not identified)
 
 =cut
 
@@ -379,7 +379,7 @@
         } else {
             return "<strong>$random_user_string</strong>";
         }
-    } 
+    }
 
     # otherwise, fall back upon default display
     return $self->SUPER::t_html( %opts );
diff -r 141a2c2d6cd3 -r 3ea6b65d559c cgi-bin/DW/Shop/Item/Points.pm
--- a/cgi-bin/DW/Shop/Item/Points.pm	Wed Dec 07 21:51:31 2011 +0000
+++ b/cgi-bin/DW/Shop/Item/Points.pm	Thu Dec 08 01:02:37 2011 -0600
@@ -35,7 +35,7 @@
 Instantiates a block of points to be purchased.
 
 Arguments:
-=item ( see DW::Shop::Item ), 
+=item ( see DW::Shop::Item ),
 =item points => number of points to buy,
 
 =cut
diff -r 141a2c2d6cd3 -r 3ea6b65d559c cgi-bin/DW/Shop/Item/Rename.pm
--- a/cgi-bin/DW/Shop/Item/Rename.pm	Wed Dec 07 21:51:31 2011 +0000
+++ b/cgi-bin/DW/Shop/Item/Rename.pm	Thu Dec 08 01:02:37 2011 -0600
@@ -25,13 +25,13 @@
 
 =head1 NAME
 
-DW::Shop::Item::Rename - Represents a rename token that someone is purchasing. See 
+DW::Shop::Item::Rename - Represents a rename token that someone is purchasing. See
 the documentation for DW::Shop::Item for usage examples and description of methods
 inherited from that base class.
 
 =head1 API
 
-=cut 
+=cut
 
 =head2 C<< $class->new( [ %args ] ) >>
 
@@ -108,7 +108,7 @@
     my ( $self, $newstate ) = @_;
 
     # create a new rename token once the cart has been paid for
-    # but only do so if we haven't created one before (just checking in case we manage to set the cart to 
+    # but only do so if we haven't created one before (just checking in case we manage to set the cart to
     #    paid status multiple times -- but that had better not happen!)
     if ( $newstate == $DW::Shop::STATE_PAID  && ! $self->{token} ) {
         my $token = DW::RenameToken->create( ownerid => $self->t_userid, cartid => $self->cartid );
--------------------------------------------------------------------------------