summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-19 16:50:20 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-19 16:52:07 +0200
commit2d7b68ac4c3ab60bd190e7ff704bbe2b8d6deafc (patch)
tree553e99a92da096539782fb369b676b18dcba8577 /web/lib/pkgfuncs.inc.php
parentec7e16369948cd9201d756d37c56be0f1f255d32 (diff)
downloadaur-2d7b68ac4c3ab60bd190e7ff704bbe2b8d6deafc.tar.gz
aur-2d7b68ac4c3ab60bd190e7ff704bbe2b8d6deafc.tar.xz
Remove can_submit_blacklisted()
This function is unneeded since commit 74edb6f (Use Git repositories to store packages, 2014-06-06). Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r--web/lib/pkgfuncs.inc.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 35b0e4e4..f03134c6 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -43,18 +43,6 @@ function can_delete_comment_array($comment) {
}
/**
- * Determine if the visitor can submit blacklisted packages.
- *
- * Only Trusted Users and Developers can delete blacklisted packages. Packages
- * are blacklisted if they are include in the official repositories.
- *
- * @return bool True if the user can submit blacklisted packages, otherwise false
- */
-function can_submit_blacklisted() {
- return has_credential(CRED_PKGBASE_SUBMIT_BLACKLISTED);
-}
-
-/**
* Check to see if the package name already exists in the database
*
* @param string $name The package name to check