holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r23403: LJSUP-14427: Remove SMS notification fun...

Committer: akanashin
LJSUP-14427: Remove SMS notification functionality for Tajikistan and Kazakhstan
U   trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2012-12-03 09:30:50 UTC (rev 23402)
+++ trunk/htdocs/manage/profile/index.bml	2012-12-03 13:04:25 UTC (rev 23403)
@@ -640,16 +640,12 @@
             $ret .= "var supportedDEF = [" . join(',', keys %{$LJ::SMSRU{provider_by_code_def}}) . "];";
             $ret .= "var smsCountry = '$country';";
 
-            my $prefix = '';
-            $prefix = '.kz' if $country eq 'KZ';
-            $prefix = '.tj' if $country eq 'TJ';
-
             my $dict_out = LJ::JSON->to_json({
                 'sendsmsbut'        => $ML{'.section.textmsg.button'},
                 'resendsmsbut'      => $ML{'.section.textmsg.button.resend'},
-                'initial'           => $ML{'.section.textmsg.info' . $prefix},
-                'badNum'            => $ML{'.section.textmsg.info.badnum' . $prefix},
-                'unsupporteddef'    => $ML{'.section.textmsg.info.unsupporteddef' . $prefix},
+                'initial'           => $ML{'.section.textmsg.info'},
+                'badNum'            => $ML{'.section.textmsg.info.badnum'},
+                'unsupporteddef'    => $ML{'.section.textmsg.info.unsupporteddef'},
 
                 map { $_ => $ML{".section.textmsg.info.$_"} }
                     qw( already_use correctNum requestsent smssent

Tags: akanashin, bml, holyandrew, livejournal
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