madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21380: LJSUP-10102: User don't receive notifica...

Committer: sbelyaev
LJSUP-10102: User don't receive notification when user is removed from community
U   trunk/cgi-bin/LJ/DelayedEntry.pm
Modified: trunk/cgi-bin/LJ/DelayedEntry.pm
===================================================================
--- trunk/cgi-bin/LJ/DelayedEntry.pm	2012-03-12 14:05:35 UTC (rev 21379)
+++ trunk/cgi-bin/LJ/DelayedEntry.pm	2012-03-12 14:29:03 UTC (rev 21380)
@@ -988,6 +988,10 @@
         LJ::run_hook('spam_community_detector', $uowner, $req, \$need_moderated);
     }
 
+    if ( LJ::is_banned($posterid, $ownerid) ) {
+        return 0;
+    }
+
     my $can_post = ($uowner->is_community() && !$need_moderated) || $can_manage;
 
     if ($can_post) {

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