summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-04-30 16:50:28 +0200
committerYorhel <git@yorhel.nl>2011-04-30 16:50:28 +0200
commit57b464e826e5f24828dec9401b70baaa43410b6c (patch)
treed5422908ec4d325a7ce9a0131321b74c6ee7e9c3 /lib/VNDB/Handler/Misc.pm
parent76b970a49e1d6374a3ec351debcf846ee00b78c0 (diff)
Cleaned up permissions
- Removed 'hist' and 'mod', weren't used at all - Merged 'del' and 'lock' into a single 'dbmod'
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 167cc152..643af1cf 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -250,7 +250,7 @@ sub history {
end;
}
if(!$type || $type eq 'u') {
- if($self->authCan('del')) {
+ if($self->authCan('dbmod')) {
p class => 'browseopts';
a $f->{h} == 1 ? (class => 'optselected') : (), href => $u->(h => 1), mt '_hist_filter_hidedel';
a $f->{h} == -1 ? (class => 'optselected') : (), href => $u->(h => -1), mt '_hist_filter_showdel';