summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:13:01 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:54:21 +0200
commitd16f7cf712f0f2f14343ff55a625b12603f542a4 (patch)
treed03b4552c1b5beaadee6a921db8888e048ceedec /web/html
parentf4613442114b36d32e903b5b0608b73e32bdbc3f (diff)
downloadaur-d16f7cf712f0f2f14343ff55a625b12603f542a4.tar.gz
aur-d16f7cf712f0f2f14343ff55a625b12603f542a4.tar.xz
Use snake case for all package functions
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/pkgsubmit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 24325106..95566f75 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -259,7 +259,7 @@ if ($uid):
}
/* Check if package name is blacklisted. */
- if (!$base_id && pkgname_is_blacklisted($pi['pkgname']) && !canSubmitBlacklisted(account_from_sid($_COOKIE["AURSID"]))) {
+ if (!$base_id && pkgname_is_blacklisted($pi['pkgname']) && !can_submit_blacklisted(account_from_sid($_COOKIE["AURSID"]))) {
$error = __( "%s is on the package blacklist, please check if it's available in the official repos.", $pi['pkgname']);
break;
}
@@ -387,7 +387,7 @@ html_header("Submit");
# give the visitor the default upload form
if (ini_get("file_uploads")):
- $pkg_categories = pkgCategories();
+ $pkg_categories = pkg_categories();
?>
<?php if ($error): ?>