alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r21040: LJSUP-11046: Create new admin console co...

Committer: afedorov
LJSUP-11046: Create new admin console command change_identity

U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-01-30 08:28:20 UTC (rev 21039)
+++ trunk/cgi-bin/LJ/User.pm	2012-01-30 08:48:17 UTC (rev 21040)
@@ -1429,6 +1429,9 @@
     $dbh->do( 'DELETE FROM identitymap WHERE userid=?', undef, $u->id );
 
     delete $u->{'_identity'};
+    
+     my $memkey = [$u->{userid}, "ident:$u->{userid}"];
+     LJ::MemCache::delete($memkey);     
 }
 
 # instance method:  returns userprop for a user.  currently from cache with no

Tags: afedorov, livejournal, 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