Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r8125: LJSV-878: documentation, whitespace chan...

Committer: ailyin
LJSV-878: documentation, whitespace changes, and cleanup.

The only backend functional change is removal of the "DISABLED" LJ::Subscription flag. Now subscriptions are checked for not being available on the
filtering phase.

U   trunk/cgi-bin/LJ/Hooks/Caps.pm
Modified: trunk/cgi-bin/LJ/Hooks/Caps.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Caps.pm	2010-01-21 12:42:34 UTC (rev 8124)
+++ trunk/cgi-bin/LJ/Hooks/Caps.pm	2010-01-22 12:16:46 UTC (rev 8125)
@@ -72,8 +72,6 @@
         # since we can't modify anything below anyway
         next if $u->{statusvis} eq 'X';
 
-        $u->enable_subscriptions;
-
         # if user was just plus but not paid, and is not upgrading to paid
         if (LJ::caps_in_group($oldcaps, "plus") && ! LJ::caps_in_group($oldcaps, "paid") && ! LJ::caps_in_group($arg->{'u'}->{'caps'}, "paid")) {
             $u->revert_style;

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