summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgreqfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-06-30 08:49:46 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-06-30 08:49:46 +0200
commit74a82bb2fbee234173df44ef7ba5f5a17b809cf1 (patch)
tree7863c470821a1409dd50976fcdbb53192b52ef6c /web/lib/pkgreqfuncs.inc.php
parentdde0482d103d19dbfeb248052f043718f65241a0 (diff)
downloadaurweb-74a82bb2fbee234173df44ef7ba5f5a17b809cf1.tar.xz
Rename package request functions to pkgreq_*()
Since these functions now reside in a separate module, use the module name as function name prefix. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/pkgreqfuncs.inc.php')
-rw-r--r--web/lib/pkgreqfuncs.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/lib/pkgreqfuncs.inc.php b/web/lib/pkgreqfuncs.inc.php
index 7ba596a..47758c3 100644
--- a/web/lib/pkgreqfuncs.inc.php
+++ b/web/lib/pkgreqfuncs.inc.php
@@ -7,7 +7,7 @@ include_once("pkgbasefuncs.inc.php");
*
* @return array List of pacakge requests with details
*/
-function pkgbase_request_list() {
+function pkgreq_list() {
$dbh = DB::connect();
$q = "SELECT PackageRequests.ID, ";
@@ -37,7 +37,7 @@ function pkgbase_request_list() {
*
* @return void
*/
-function pkgbase_file_request($ids, $type, $merge_into, $comments) {
+function pkgreq_file($ids, $type, $merge_into, $comments) {
global $AUR_LOCATION;
global $AUR_REQUEST_ML;
@@ -129,7 +129,7 @@ function pkgbase_file_request($ids, $type, $merge_into, $comments) {
*
* @return void
*/
-function pkgbase_close_request($id) {
+function pkgreq_close($id) {
global $AUR_LOCATION;
global $AUR_REQUEST_ML;