diff options
author | Yorhel <git@yorhel.nl> | 2009-07-07 13:18:50 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-07-07 13:18:50 +0200 |
commit | 087b1697606292d945524af4f84ba5899749409e (patch) | |
tree | 742c493be4f2391eb518212bcd02b4fb349fd775 /lib/VNDB/Handler/Misc.pm | |
parent | d59124e057e3a10dac0a3a448f4503679810850c (diff) |
Hide threads targeted at users from the main page
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r-- | lib/VNDB/Handler/Misc.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm index dd9c8307..9ff2d315 100644 --- a/lib/VNDB/Handler/Misc.pm +++ b/lib/VNDB/Handler/Misc.pm @@ -100,7 +100,7 @@ sub homepage { # Recent posts div class => 'mainbox threelayout last'; h1 'Recent posts'; - my $posts = $self->dbThreadGet(what => 'lastpost boardtitles', results => 10, order => 'tpl.date DESC'); + my $posts = $self->dbThreadGet(what => 'lastpost boardtitles', results => 10, order => 'tpl.date DESC', notusers => 1); ul; for (@$posts) { my $boards = join ', ', map $self->{discussion_boards}{$_->{type}}.($_->{iid}?' > '.$_->{title}:''), @{$_->{boards}}; |