[Slashdotjp-dev 1270] [798] Fix unwanted object creation at plugin/Messages/Messages.pm

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 10月 23日 (木) 15:32:54 JST


Revision: 798
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=798
Author:   tach
Date:     2008-10-23 15:32:54 +0900 (Thu, 23 Oct 2008)

Log Message:
-----------
Fix unwanted object creation at plugin/Messages/Messages.pm

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/debian/changelog
    slashjp/branches/2.5.0.192/plugins/Messages/Messages.pm


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-10-22 09:51:41 UTC (rev 797)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-10-23 06:32:54 UTC (rev 798)
@@ -9,8 +9,9 @@
     - To change modreasons by moderated score
   * Select enable/disable moderation for not m2able reasons when it is not
     eligible
+  * Fix unwanted object creation at plugin/Messages/Messages.pm
 
- -- Taku YASUI <tach****@osdn*****>  Fri, 17 Oct 2008 08:28:27 +0000
+ -- Taku YASUI <tach****@osdn*****>  Thu, 23 Oct 2008 06:31:58 +0000
 
 slash (2.5.0.192-20) unstable; urgency=low
 

Modified: slashjp/branches/2.5.0.192/plugins/Messages/Messages.pm
===================================================================
--- slashjp/branches/2.5.0.192/plugins/Messages/Messages.pm	2008-10-22 09:51:41 UTC (rev 797)
+++ slashjp/branches/2.5.0.192/plugins/Messages/Messages.pm	2008-10-23 06:32:54 UTC (rev 798)
@@ -127,7 +127,7 @@
 
 	if (!$altto) {
 		# check for $uid existence
-		my $reader = getObject('Slash::Journal', { db_type => 'reader' });
+		my $reader = getObject('Slash::DB', { db_type => 'reader' });
 		for my $u (@$uid) {
 			if ($reader->existsUid($u)) {
 				push @users, $u;


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