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

[livejournal] r17493: LJSUP-7040. Need to remove the column sm...

Committer: gprochaev
LJSUP-7040. Need to remove the column sms for basic accounts

U   trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
Modified: trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm	2010-10-04 07:24:33 UTC (rev 17492)
+++ trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm	2010-10-04 07:43:07 UTC (rev 17493)
@@ -29,6 +29,10 @@
     ){
         @ntypes = grep { $_ ne 'LJ::NotificationMethod::SMSru' ? 1 : 0 } @ntypes;
     }
+    ## LJSUP-7040. We are disable using SMS Notifications for Basic accounts
+    if (!$u->get_cap('paid') && !$u->in_class('plus')) {
+        @ntypes = grep { $_ ne 'LJ::NotificationMethod::SMSru' ? 1 : 0 } @ntypes;
+    }
 
     my $colnum = scalar(@ntypes) + 1;
 

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