[Slashdotjp-dev 1416] [947] add to write log granting moderation point

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 13日 (火) 14:13:57 JST


Revision: 947
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=947
Author:   tach
Date:     2009-01-13 14:13:57 +0900 (Tue, 13 Jan 2009)

Log Message:
-----------
add to write log granting moderation point

Modified Paths:
--------------
    slashjp/trunk/plugins/TagModeration/TagModeration.pm


-------------- next part --------------
Modified: slashjp/trunk/plugins/TagModeration/TagModeration.pm
===================================================================
--- slashjp/trunk/plugins/TagModeration/TagModeration.pm	2009-01-13 04:33:06 UTC (rev 946)
+++ slashjp/trunk/plugins/TagModeration/TagModeration.pm	2009-01-13 05:13:57 UTC (rev 947)
@@ -79,6 +79,7 @@
 			-points         => "LEAST(points + $this_pointgain, $this_maxpoints)",
 		});
 		$granted->{$uid} = 1 if $rows;
+		main::slashdLog("uid: $uid, karma: $user->{karma}, calc: $base / $num, points: $this_pointgain");
 	}
 	main::slashdLog("convert_tokens_to_points num_high=$num_high sum_high=$sum_high high_uids='@high_uids'");
 }


Slashdotjp-dev メーリングリストの案内
Back to archive index