summaryrefslogtreecommitdiff
path: root/lib/VNWeb/HTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-14 15:15:46 +0200
committerYorhel <git@yorhel.nl>2019-10-14 16:27:07 +0200
commitb539ea56c2406a110ca6666e9f42c3b4af8e1a10 (patch)
tree0da99d8f6d3a0134a44585ae05d041d764161c39 /lib/VNWeb/HTML.pm
parent77f3a2933ea14bdec59354e40075b7faa3ff96ea (diff)
Delete the user deletion feature
It's rather much code just to run a single SQL statement that I almost never need. Incidentally, the feature was also broken because the DELETE permission wasn't granted in perms.sql.
Diffstat (limited to 'lib/VNWeb/HTML.pm')
-rw-r--r--lib/VNWeb/HTML.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VNWeb/HTML.pm b/lib/VNWeb/HTML.pm
index f61fc16c..08601252 100644
--- a/lib/VNWeb/HTML.pm
+++ b/lib/VNWeb/HTML.pm
@@ -322,7 +322,6 @@ sub _maintabs_ {
t tagmod => "/$id/tagmod", 'modify tags' if $t eq 'v' && auth->permTag && !$o->{entry_hidden};
t copy => "/$id/copy", 'copy' if $t =~ /[rc]/ && can_edit $t, $o;
t edit => "/$id/edit", 'edit' if can_edit $t, $o;
- t del => "/$id/del", 'remove' if $t eq 'u' && auth && auth->uid == 2;
t releases => "/$id/releases", 'releases' if $t eq 'v';
t rgraph => "/$id/rg", 'relations'