holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11863: LJSUP-12018: now russian domain have len...

Committer: akanashin
LJSUP-12018: now russian domain have length maximum 16 symbols
U   trunk/cgi-bin/LJ/Console/Command/DomainRU.pm
Modified: trunk/cgi-bin/LJ/Console/Command/DomainRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/DomainRU.pm	2012-05-02 09:25:17 UTC (rev 11862)
+++ trunk/cgi-bin/LJ/Console/Command/DomainRU.pm	2012-05-02 11:29:10 UTC (rev 11863)
@@ -69,7 +69,7 @@
     } elsif ($action eq 'remove') {
         $reason ||= 'removed by support';
         LJ::Pay::Payment::PayItem::DomainRU->delete_domains($account, $domain, $reason);
-        LJ::Pay::Wallet->try_add(LJ::load_user($account), $LJ::Pay::Payment::PayItem::DomainRU::shop_price);
+        LJ::Pay::Wallet->try_add(LJ::load_user($account), $LJ::Pay::Payment::PayItem::DomainRU::shop_price * LJ::Pay::Wallet::EXCHANGE_RATE);
         return $self->print("Domain removed");
     } elsif ($action eq 'show') {
         my $domains = LJ::Pay::Payment::PayItem::DomainRU->get_domains($u);

Tags: akanashin, holyandrew, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments