Committer: gprochaev
LJSUP-7040. Need to remove the column sms for basic accountsU 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;