mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-05-03 02:08 pm

[dw-nonfree] These should be pulled from configs, but for now, make it work at least.

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/93167c7c87b0]

These should be pulled from configs, but for now, make it work at least.

Patch by [staff profile] mark.

Files modified:
  • cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm
--------------------------------------------------------------------------------
diff -r 7e5f0fb8344c -r 93167c7c87b0 cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm
--- a/cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm	Fri May 01 00:35:55 2009 +0000
+++ b/cgi-bin/DW/BusinessRules/InviteCodes/DWS.pm	Sun May 03 14:08:23 2009 +0000
@@ -44,9 +44,9 @@ search_class, and adj_invites).
 # argument is always max users to return.
 my %user_classes = (
     basic_paid      => { search => \&_search_paystatus,
-                         search_arg => [ typeid => 1 ] },
+                         search_arg => [ typeid => 3 ] },
     premium_paid    => { search => \&_search_paystatus,
-                         search_arg => [ typeid => 2 ] },
+                         search_arg => [ typeid => 4 ] },
     permanent_paid  => { search => \&_search_paystatus,
                          search_arg => [ permanent => 1 ] },
     # Users active in the last 30 days
--------------------------------------------------------------------------------