madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21358: 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/Scheduler.pm
Modified: trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm
===================================================================
--- trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm	2012-03-12 11:32:10 UTC (rev 21357)
+++ trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm	2012-03-12 11:40:27 UTC (rev 21358)
@@ -139,8 +139,8 @@
     eval {
         while ( my $entries = __load_delayed_entries($dbh) ) {
             foreach my $entry (@$entries) {
-                if (!LJ::DelayedEntry::can_post_to($entry->journal,
-                                                   $entry->poster)) {
+                if (!LJ::DelayedEntry::can_post_to($entry->poster,
+                                                   $entry->journal)) {
                     
                     if ($verbose) {
                         print "The entry with subject " . $entry->subject;

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