Make the type parameter of pkgreq_by_pkgbase() optional
This simplifies the code a bit, improves maintainability and reduces the
number of SQL queries when deleting a package.
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
Please register or sign in to comment