Шурик (fortl) wrote in changelog,
Шурик
fortl
changelog

[livejournal] r18338:

Committer: aurbanowich

LJSUP-7911 revert line

U   trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2011-02-17 08:21:19 UTC (rev 18337)
+++ trunk/htdocs/manage/profile/index.bml	2011-02-17 08:42:31 UTC (rev 18338)
@@ -561,8 +561,7 @@
             my $statuses = LJ::SMS::API::RU::Phone->get_cur_phone_statuses($phone);
             $status = 'already_use' if grep { $_->[0] eq 'verified' && $_->[1] != $u->{'userid'} } @$statuses;
 			$ret .= "smsNotifyInitialState = \"".$status."\";";
-			my $defs = $LJ::SMSRU{defs_by_country}->{$country} || [];
-			$ret .= "var supportedDEF = [" . join(',', @$defs) . "];";
+			$ret .= "var supportedDEF = [" . join(',', keys %{$LJ::SMSRU{provider_by_def}}) . "];";
 			$ret .= "var smsCountry = '$country';";
 			$ret .= "var smsNotifyDict = {";
 			$ret .= "";

Tags: bml, fortl, 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