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

[ljcom] r9310: LJSUP-6509 (Notifications asking. If use...

Committer: ailyin
LJSUP-6509 (Notifications asking. If user hits NO and Save the system switch some notifications.)
U   branches/facebook-integration2/cgi-bin/LJ/Identity/Facebook.pm
Modified: branches/facebook-integration2/cgi-bin/LJ/Identity/Facebook.pm
===================================================================
--- branches/facebook-integration2/cgi-bin/LJ/Identity/Facebook.pm	2010-08-04 08:57:33 UTC (rev 9309)
+++ branches/facebook-integration2/cgi-bin/LJ/Identity/Facebook.pm	2010-08-05 07:32:34 UTC (rev 9310)
@@ -111,6 +111,9 @@
 
     # facebook identities are plus accounts by default
     $u->add_to_class('plus');
+
+    # until they get notifications set, they don't get anything
+    LJ::update_user($u, { 'opt_gettalkemail' => 'N' });
 }
 
 sub url {

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