summaryrefslogtreecommitdiffstats
path: root/web/template/actions_form.php
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-01 10:33:00 -0600
committerLukas Fleischer <archlinux@cryptocrack.de>2011-03-04 10:29:14 +0100
commit0e304107677cbcd9aa73500d3e5f5fda692a260e (patch)
tree93b55cc7a95fe26d69699732cc77c7d5bc130a3b /web/template/actions_form.php
parentf9eba12312fc6a1758f7f1051a8f30b435175f94 (diff)
downloadaurweb-0e304107677cbcd9aa73500d3e5f5fda692a260e.tar.xz
Vastly simplify pkg_delete function
Since only TUs/Devs can delete packages, we can remove almost all checks except the account type check. And now that our DB uses foreign keys, all of the other deletes happen implicitly when a package is deleted so we don't need to take care of it here. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/actions_form.php')
0 files changed, 0 insertions, 0 deletions