madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23548: LJSUP-14824: Stop sending notification a...

Committer: sbelyaev
LJSUP-14824: Stop sending notification about birthday
U   trunk/cgi-bin/LJ/Event/Birthday.pm
Modified: trunk/cgi-bin/LJ/Event/Birthday.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/Birthday.pm	2013-01-16 08:59:57 UTC (rev 23547)
+++ trunk/cgi-bin/LJ/Event/Birthday.pm	2013-01-16 12:16:26 UTC (rev 23548)
@@ -48,6 +48,10 @@
 sub matches_filter {
     my ($self, $subscr) = @_;
 
+    if (!$subscr->owner || $self->userid == $subscr->owner->userid)  {
+        return 0;
+    }
+
     return $self->bdayuser->can_show_bday(to => $subscr->owner) ? 1 : 0;
 }
 

Tags: livejournal, madeon, pm, sbelyaev
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