alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r11330: LJSUP-10999: Incorrect date in email (em...

Committer: afedorov
LJSUP-10999: Incorrect date in email (email for purging accounts)

U   trunk/cgi-bin/LJ/Event/UserPurging.pm
Modified: trunk/cgi-bin/LJ/Event/UserPurging.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/UserPurging.pm	2012-01-19 08:14:22 UTC (rev 11329)
+++ trunk/cgi-bin/LJ/Event/UserPurging.pm	2012-01-19 12:08:59 UTC (rev 11330)
@@ -82,7 +82,7 @@
     my $journal      = $self->u;
     my $action       = $actions_rev{$self->arg1};
     my $journaltype  = $journal->is_community ? 'comm' : 'personal';
-    my $deleted_time = $journal->statusvisdate_unix;
+    my $deleted_time = $journal->is_deleted ? $journal->statusvisdate_unix : ( time + $LJ::INACTIVE_ACCOUNT_PREMATURE_WARN );
 
     my $purging_time;
     

Tags: afedorov, ljcom, pm, red_alf
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