summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index c32766b1..cb9a508a 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -70,7 +70,7 @@ sub homepage {
a href => '/hist', mt '_home_recentchanges'; txt ' ';
a href => '/feeds/changes.atom'; cssicon 'feed', mt '_atom_feed'; end;
end;
- my $changes = $self->dbRevisionGet(what => 'item user', results => 10, auto => 1);
+ my $changes = $self->dbRevisionGet(results => 10, auto => 1);
ul;
for (@$changes) {
li;
@@ -213,7 +213,6 @@ sub history {
# get the edit history
my($list, $np) = $self->dbRevisionGet(
- what => 'item user',
$type && $type ne 'u' ? ( type => $type, itemid => $id ) : (),
$type eq 'u' ? ( uid => $id ) : (),
$f->{t} ? ( type => $f->{t} eq 'a' ? [qw|v r p|] : $f->{t} ) : (),