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

[ljcom] r8141: LJSV-903 (ESN refactoring, part 1 // Def...

Committer: ailyin
LJSV-903 (ESN refactoring, part 1 // Default settings: Cyr users get "LJ Russia makes an announcement" checked by default even if they don't want
to): do not force SUP users to subscribe to News if they selected not to subscribe

U   trunk/cgi-bin/LJ/Hooks/SUP.pm
Modified: trunk/cgi-bin/LJ/Hooks/SUP.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/SUP.pm	2010-01-26 11:33:39 UTC (rev 8140)
+++ trunk/cgi-bin/LJ/Hooks/SUP.pm	2010-01-26 11:39:14 UTC (rev 8141)
@@ -196,11 +196,6 @@
     # is eligible to do SUP stuff in future, and also who gets
     # SUP advertising if a plus user...)
     $u->add_to_class("sup_user"); # in future, rename to "sup_eligible"
-
-    # Subscribe SUP user
-    $u->subscribe( event => 'SupOfficialPost', method => 'Inbox' );
-    $u->subscribe( event => 'SupOfficialPost', method => 'Email' )
-            if $arg->{news};
 });
 
 LJ::register_hook("postpost", sub {

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