madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r12576: LJSUP-13445: Home page optimization: sta...

Committer: sbelyaev
LJSUP-13445: Home page optimization: stage 2
U   trunk/cgi-bin/LJ/Console/Command/RenameReset.pm
Modified: trunk/cgi-bin/LJ/Console/Command/RenameReset.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/RenameReset.pm	2012-08-29 09:59:44 UTC (rev 12575)
+++ trunk/cgi-bin/LJ/Console/Command/RenameReset.pm	2012-08-29 11:29:52 UTC (rev 12576)
@@ -4,6 +4,8 @@
 use base qw(LJ::Console::Command);
 use Carp qw(croak);
 
+use LJ::MemCacheProxy;
+
 sub cmd { "rename_reset" }
 
 sub desc { "Modifies friend properties if selected incorrectly during a rename." }
@@ -60,7 +62,7 @@
         LJ::memcache_kill($u, "friendofs2");
 
         my $uid = $u->id;
-        LJ::MemCache::delete([$_, "frgmask:$_:$uid"]) foreach @ids;
+        LJ::MemCacheProxy::delete([$_, "frgmask:$_:$uid"]) foreach @ids;
 
         return $self->print("Friend-ofs for '$user' removed.");
     }

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