diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-01 10:33:00 -0600 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-04 10:29:14 +0100 |
commit | 0e304107677cbcd9aa73500d3e5f5fda692a260e (patch) | |
tree | 93b55cc7a95fe26d69699732cc77c7d5bc130a3b /support/scripts | |
parent | f9eba12312fc6a1758f7f1051a8f30b435175f94 (diff) | |
download | aurweb-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 'support/scripts')
0 files changed, 0 insertions, 0 deletions