wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r17483: LJSUP-7037. Not stored phone number in y...

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'}))

Tags: bml, livejournal, wisest-owl
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