alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r11123: LJSUP-6301 (Purge innactive accounts)

Committer: afedorov
LJSUP-6301 (Purge innactive accounts)

U   trunk/cgi-bin/LJ/User/Inactive.pm
Modified: trunk/cgi-bin/LJ/User/Inactive.pm
===================================================================
--- trunk/cgi-bin/LJ/User/Inactive.pm	2011-10-26 15:48:07 UTC (rev 11122)
+++ trunk/cgi-bin/LJ/User/Inactive.pm	2011-10-27 13:46:50 UTC (rev 11123)
@@ -327,6 +327,7 @@
     unless ($u) {
         # not all userids have a user existing with them, so
         # in case we find one, let's disregard the user completely
+        my $dbh = LJ::get_db_writer();
         $dbh->do( 'DELETE FROM user_active_until WHERE userid=?',
             undef, $userid );
         return;

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