[Slashdotjp-dev 1402] [933] Fix to insert correct entry to users_journal

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 9日 (金) 16:10:41 JST


Revision: 933
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=933
Author:   tach
Date:     2009-01-09 16:10:41 +0900 (Fri, 09 Jan 2009)

Log Message:
-----------
Fix to insert correct entry to users_journal

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/plugins/Journal/Journal.pm


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-01-09 04:13:10 UTC (rev 932)
+++ slashjp/trunk/debian/changelog	2009-01-09 07:10:41 UTC (rev 933)
@@ -1,3 +1,9 @@
+slash (2.5.0.233-2) unstable; urgency=low
+
+  * Fix to insert correct entry to users_journal
+
+ -- Taku YASUI <tach****@osdn*****>  Fri,  9 Jan 2009 07:09:37 +0000
+
 slash (2.5.0.233-1) unstable; urgency=low
 
   * New upstream git tag

Modified: slashjp/trunk/plugins/Journal/Journal.pm
===================================================================
--- slashjp/trunk/plugins/Journal/Journal.pm	2009-01-09 04:13:10 UTC (rev 932)
+++ slashjp/trunk/plugins/Journal/Journal.pm	2009-01-09 07:10:41 UTC (rev 933)
@@ -216,6 +216,7 @@
 	$slashdb->setUser($user->{uid}, { journal_last_entry_date => $date });
 
 	$self->insertFireHose($id, $promotetype);
+	$self->updateUsersJournal($user->{uid});
 
 	return $id;
 }
@@ -273,6 +274,7 @@
 		);
 	}
 
+	$self->updateUsersJournal($uid);
 
 	return $count;
 }


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