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