Committer: gprochaev
LJSUP-7037. Not stored phone number in your profile.U trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml =================================================================== --- trunk/htdocs/manage/profile/index.bml 2010-10-01 07:34:13 UTC (rev 17482) +++ trunk/htdocs/manage/profile/index.bml 2010-10-01 08:22:18 UTC (rev 17483) @@ -837,7 +837,7 @@ my $tminfo = LJ::TextMessage->tm_info($u); # Check that text messaging is turned off and either # the provider or number have been set to null - if ($LJ::DISABLED{'smsru'} || !$is_remote_sup) { + if ($LJ::DISABLED{'smsru'} || LJ::GeoLocation->ip_country() ne 'RU') { if ($txtmsg_status eq "off" && (($tminfo->{'provider'} && ! $POST{'txtmsg_provider'}) || ($tminfo->{'number'} && ! $POST{'txtmsg_number'}))