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;