summaryrefslogtreecommitdiffstats
path: root/web/lib/credentials.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/credentials.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/credentials.inc.php')
-rw-r--r--web/lib/credentials.inc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/lib/credentials.inc.php b/web/lib/credentials.inc.php
index 614f2d99..cf1fccab 100644
--- a/web/lib/credentials.inc.php
+++ b/web/lib/credentials.inc.php
@@ -15,7 +15,6 @@ define("CRED_PKGBASE_EDIT_COMAINTAINERS", 24);
define("CRED_PKGBASE_FLAG", 11);
define("CRED_PKGBASE_LIST_VOTERS", 12);
define("CRED_PKGBASE_NOTIFY", 13);
-define("CRED_PKGBASE_SUBMIT_BLACKLISTED", 14);
define("CRED_PKGBASE_UNFLAG", 15);
define("CRED_PKGBASE_VOTE", 16);
define("CRED_PKGREQ_FILE", 23);
@@ -65,7 +64,6 @@ function has_credential($credential, $approved_users=array()) {
case CRED_PKGBASE_EDIT_COMAINTAINERS:
case CRED_PKGBASE_DISOWN:
case CRED_PKGBASE_LIST_VOTERS:
- case CRED_PKGBASE_SUBMIT_BLACKLISTED:
case CRED_PKGBASE_UNFLAG:
case CRED_PKGREQ_CLOSE:
case CRED_PKGREQ_LIST: