diff options
author | Yorhel <git@yorhel.nl> | 2019-10-14 15:15:46 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-14 16:27:07 +0200 |
commit | b539ea56c2406a110ca6666e9f42c3b4af8e1a10 (patch) | |
tree | 0da99d8f6d3a0134a44585ae05d041d764161c39 /lib/VNDB/Util/CommonHTML.pm | |
parent | 77f3a2933ea14bdec59354e40075b7faa3ff96ea (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/VNDB/Util/CommonHTML.pm')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index 0a09655c..3d18bdf5 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -82,12 +82,6 @@ sub htmlMainTabs { end; } - if($type eq 'u' && ($self->authInfo->{id}||0) == 2) { - li $sel eq 'del' ? (class => 'tabselected') : (); - a href => "/$id/del", 'remove'; - end; - } - if($type eq 'v') { li $sel eq 'releases' ? (class => 'tabselected') : (); a href => "/$id/releases", 'releases'; |