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

[ljcom] r9588: LJSUP-6987 (Check profile details): send...

Committer: ailyin
LJSUP-6987 (Check profile details): send data over correctly
U   trunk/cgi-bin/LJ/Identity/Facebook.pm
U   trunk/cgi-bin/LJ/Identity/Twitter.pm
Modified: trunk/cgi-bin/LJ/Identity/Facebook.pm
===================================================================
--- trunk/cgi-bin/LJ/Identity/Facebook.pm	2010-10-04 07:57:38 UTC (rev 9587)
+++ trunk/cgi-bin/LJ/Identity/Facebook.pm	2010-10-04 08:10:29 UTC (rev 9588)
@@ -161,6 +161,9 @@
 
     # until they get notifications set, they don't get anything
     LJ::update_user($u, { 'opt_gettalkemail' => 'N' });
+
+    # ping events feed to let subscribers know of this account
+    LJ::run_hooks('profile_save', $u);
 }
 
 sub url {

Modified: trunk/cgi-bin/LJ/Identity/Twitter.pm
===================================================================
--- trunk/cgi-bin/LJ/Identity/Twitter.pm	2010-10-04 07:57:38 UTC (rev 9587)
+++ trunk/cgi-bin/LJ/Identity/Twitter.pm	2010-10-04 08:10:29 UTC (rev 9588)
@@ -91,6 +91,9 @@
 
     # until they get notifications set, they don't get anything
     LJ::update_user($u, { 'opt_gettalkemail' => 'N' });
+
+    # ping events feed to let subscribers know of this account
+    LJ::run_hooks('profile_save', $u);
 }
 
 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