From b651604e8bc8895483fa388448cb5bbd8bcd35f9 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 11 Aug 2015 20:58:03 -0700 Subject: remove the forum limit --- doc/to_do_code.bb | 2 +- include/widgets.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/to_do_code.bb b/doc/to_do_code.bb index f3c347b53..04974e012 100644 --- a/doc/to_do_code.bb +++ b/doc/to_do_code.bb @@ -4,7 +4,7 @@ We need much more than this, but here are areas where developers can help. Pleas [li]Documentation - see Red Documentation Project To-Do List[/li] [li]Include TOS link in registration/verification email[/li] -[li]forum widget with unread counts (requires the DB schema changes from v3/hubzilla to be viable)[/li] +[li](done) forum widget with unread counts (requires the DB schema changes from v3/hubzilla to be viable)[/li] [li]Create bug tracker module[/li] [li]translation plugins - moses or apertium[/li] [li]Infinite scroll improvements (i.e. embedded page links) see http://scrollsample.appspot.com/items [/li] diff --git a/include/widgets.php b/include/widgets.php index 0e56b0e15..49470287e 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -999,7 +999,7 @@ function widget_forums($arr) { if(is_array($arr) && array_key_exists('limit',$arr)) $limit = " limit " . intval($limit) . " "; else - $limit = " limit 12 "; + $limit = ''; $perms_sql = item_permissions_sql(local_channel()) . item_normal(); -- cgit v1.2.3