holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r23054: LJSUP-13806: Collect information about u...

Committer: akanashin
LJSUP-13806: Collect information about user's posting activity
U   trunk/cgi-bin/ljlib.pl
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2012-10-05 07:52:40 UTC (rev 23053)
+++ trunk/cgi-bin/ljlib.pl	2012-10-05 09:22:41 UTC (rev 23054)
@@ -80,7 +80,7 @@
 # so other tools (in particular, the inter-cluster user mover) can verify
 # that it knows how to move all types of data before it will proceed.
 @LJ::USER_TABLES = ("userbio", "birthdays", "cmdbuffer", "dudata",
-                    "log2", "logtext2", "logprop2", "logsec2",
+                    "log2", "logleft", "logtext2", "logprop2", "logsec2",
                     "talk2", "talkprop2", "talktext2", "talkleft",
                     "userpicblob2", "subs", "subsprop", "has_subs",
                     "ratelog", "loginstall", "sessions", "sessions_data",

Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-10-05 07:52:40 UTC (rev 23053)
+++ trunk/cgi-bin/ljprotocol.pl	2012-10-05 09:22:41 UTC (rev 23054)
@@ -2967,7 +2967,7 @@
     my $ip = LJ::get_remote_ip();
     my $uniq = LJ::UniqCookie->current_uniq();
 
-    $dbh->do('INSERT INTO logleft VALUES (?, NOW(), ?, ?, ?, ?, ?)', undef, 
+    $u->do('INSERT INTO logleft VALUES (?, NOW(), ?, ?, ?, ?, ?)', undef, 
         $posterid, 
         $ownerid, 
         $ditemid, 

Tags: akanashin, holyandrew, livejournal, pl
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