sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r21738: rollback part of mixed r21731 for LJSV-2...

Committer: vtroitsky
rollback part of mixed r21731 for LJSV-2175
U   branches/r91.1/cgi-bin/ljprotocol.pl
Modified: branches/r91.1/cgi-bin/ljprotocol.pl
===================================================================
--- branches/r91.1/cgi-bin/ljprotocol.pl	2012-04-17 16:01:00 UTC (rev 21737)
+++ branches/r91.1/cgi-bin/ljprotocol.pl	2012-04-17 16:26:32 UTC (rev 21738)
@@ -3075,10 +3075,6 @@
             $uowner->remove_sticky_entry_id();
         }
 
-    $dbh->do("UPDATE userusage SET timeupdate=NOW() ".
-             "WHERE userid=$ownerid");
-    LJ::MemCache::set([$ownerid, "tu:$ownerid"], pack("N", time()), 30*60);
-
         return $res;
     }
 

Tags: livejournal, pl, sunnyman, vtroitsky
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