[Slashdotjp-dev 1509] [1040] Disable discussion2 when mobile mode

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 23日 (月) 22:13:52 JST


Revision: 1040
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1040
Author:   tach
Date:     2009-02-23 22:13:52 +0900 (Mon, 23 Feb 2009)

Log Message:
-----------
Disable discussion2 when mobile mode

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


-------------- next part --------------
Modified: slashjp/trunk/Slash/Utility/Environment/Environment.pm
===================================================================
--- slashjp/trunk/Slash/Utility/Environment/Environment.pm	2009-02-23 12:23:34 UTC (rev 1039)
+++ slashjp/trunk/Slash/Utility/Environment/Environment.pm	2009-02-23 13:13:52 UTC (rev 1040)
@@ -1648,6 +1648,7 @@
 			$user->{mode} = $constants->{mobile_commentmode} || 'flat'; # show flat
 			$user->{commentsort} = $constants->{mobile_commentsort} || 4; # sorted by date asc
 			$user->{commentlimit} = $constants->{mobile_commentlimit} || 5; # comments per page
+			$user->{discussion2} = $constants->{mobile_discussion2} || ''; # discussion2
 		}
 	}
 

Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-02-23 12:23:34 UTC (rev 1039)
+++ slashjp/trunk/debian/changelog	2009-02-23 13:13:52 UTC (rev 1040)
@@ -23,8 +23,9 @@
   * Add fix-discussion-url command to fix url column in discussions table
   * Fix poll discussion kind definition
   * Add fix-poll-discussions - fix discussions.dkid for poll discussion item
+  * Disable discussion2 when mobile mode
 
- -- Taku YASUI <tach****@osdn*****>  Mon, 23 Feb 2009 10:46:34 +0000
+ -- Taku YASUI <tach****@osdn*****>  Mon, 23 Feb 2009 13:13:34 +0000
 
 slash (2.5.0.233-4) unstable; urgency=low
 



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