madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23225: LJSUP-14142: Delayed enetries poster wor...

Committer: sbelyaev
LJSUP-14142: Delayed enetries poster worker : post problem
U   trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm
Modified: trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm
===================================================================
--- trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm	2012-10-31 09:19:44 UTC (rev 23224)
+++ trunk/cgi-bin/LJ/DelayedEntry/Scheduler.pm	2012-10-31 11:23:30 UTC (rev 23225)
@@ -202,7 +202,14 @@
                           "\ndelayed id = " . $entry->delayedid . 
                           " and post date " . $entry->posttime . 
                           " error : " . $post_status->{'error_message'};
-                    
+
+                    if ( $post_status->{'delete_entry'} ) {
+                        __send_error($entry->poster, 
+                                     $entry->subject,  
+                                     $post_status->{'error_message'});
+                        $entry->mark_posted();
+                    }
+
                 } elsif ($verbose) {
                         print "(posting) The entry with delayed id = " . 
                               $entry->delayedid . 

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