[dw-free] Remove unrelated code that was accidentally committed. Oops.
[commit: http://hg.dwscoalition.org/dw-free/rev/ce43f550f3f3]
Remove unrelated code that was accidentally committed. Oops.
Patch by
fu.
Files modified:
Remove unrelated code that was accidentally committed. Oops.
Patch by
Files modified:
- htdocs/shop/account.bml
--------------------------------------------------------------------------------
diff -r 758fec157a83 -r ce43f550f3f3 htdocs/shop/account.bml
--- a/htdocs/shop/account.bml Tue Jun 08 21:38:54 2010 +0800
+++ b/htdocs/shop/account.bml Tue Jun 08 21:42:21 2010 +0800
@@ -94,7 +94,8 @@ body<=
$ret .= LJ::form_auth();
$ret .= "<table class='shop-table'><tr>";
$ret .= "<td>" . LJ::Widget::ShopItemOptions->render( option_name => 'accttype', item => 'prem' ) . "</td>";
- $ret .= "<td>" . LJ::Widget::ShopItemOptions->render( option_name => 'accttype', item => 'paid' ) . "</td>";
+ $ret .= "<td>" . LJ::Widget::ShopItemOptions->render( option_name => 'accttype', item => 'paid' ) . "</td>"
+ unless $for eq 'self' && $account_type eq 'premium';
$ret .= "</tr>";
if ( DW::Pay::num_permanent_accounts_available() > 0 ) {
--------------------------------------------------------------------------------
