vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17370: LJSUP-6482: SMS Notification RU

Committer: vsukhanov
LJSUP-6482: SMS Notification RU
U   trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
Modified: trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm	2010-09-14 08:19:58 UTC (rev 17369)
+++ trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm	2010-09-14 09:52:54 UTC (rev 17370)
@@ -22,7 +22,8 @@
 
     my @ntypes = @LJ::NOTIFY_TYPES;
     my (undef, $country) = LJ::GeoLocation->ip_class;
-    if ($country ne 'RU' and
+    if (not $LJ::DISABLED{smsru} and
+        $country ne 'RU' and
         not LJ::SMS::API::RU::Phone->is_users_number_supported($u)
     ){
         @ntypes = grep { $_ ne 'LJ::NotificationMethod::SMSru' ? 1 : 0 } @ntypes;

Tags: livejournal, pm, vadvs
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