[Slashdotjp-dev 1447] [978] Return more infomation on currentAdmin()

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 29日 (木) 16:40:11 JST


Revision: 978
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=978
Author:   tach
Date:     2009-01-29 16:40:11 +0900 (Thu, 29 Jan 2009)

Log Message:
-----------
Return more infomation on currentAdmin()

Modified Paths:
--------------
    slashjp/trunk/Slash/Utility/Display/Display.pm
    slashjp/trunk/debian/changelog


-------------- next part --------------
Modified: slashjp/trunk/Slash/Utility/Display/Display.pm
===================================================================
--- slashjp/trunk/Slash/Utility/Display/Display.pm	2009-01-29 07:21:24 UTC (rev 977)
+++ slashjp/trunk/Slash/Utility/Display/Display.pm	2009-01-29 07:40:11 UTC (rev 978)
@@ -690,7 +690,7 @@
 	my $now = timeCalc($slashdb->getTime(), "%s", 0);
 	my $aids = $slashdb->currentAdmin();
 	for my $data (@$aids) {
-		my($usernick, $usertime, $lasttitle, $last_subid, $last_sid, $uid) = @$data;
+		my($usernick, $usertime, $lasttitle, $last_subid, $last_sid, $uid, $last_fhid, $last_action) = @$data;
 		if ($usernick eq $user->{nickname}) {
 			$usertime = "-";
 		} else {
@@ -704,7 +704,7 @@
 					. int(($usertime%3600)/60+0.5) . "m";
 			}
 		}
-		@$data = ($usernick, $usertime, $lasttitle, $last_subid, $last_sid, $uid);
+		@$data = ($usernick, $usertime, $lasttitle, $last_subid, $last_sid, $uid, $last_fhid, $last_action);
 	}
 
 	my @reader_vus = $slashdb->getDBVUsForType("reader");

Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-01-29 07:21:24 UTC (rev 977)
+++ slashjp/trunk/debian/changelog	2009-01-29 07:40:11 UTC (rev 978)
@@ -7,8 +7,9 @@
   * Change title order****@artic*****
   * Fix to remove incorrect admin sessions
   * Set last_action='reviewing' when viewing submission
+  * Return more infomation on currentAdmin()
 
- -- Taku YASUI <tach****@osdn*****>  Thu, 29 Jan 2009 07:20:35 +0000
+ -- Taku YASUI <tach****@osdn*****>  Thu, 29 Jan 2009 07:39:31 +0000
 
 slash (2.5.0.233-3) unstable; urgency=low
 



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