diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-30 08:49:46 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-30 08:49:46 +0200 |
commit | 74a82bb2fbee234173df44ef7ba5f5a17b809cf1 (patch) | |
tree | 7863c470821a1409dd50976fcdbb53192b52ef6c /web/html | |
parent | dde0482d103d19dbfeb248052f043718f65241a0 (diff) | |
download | aurweb-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/html')
-rw-r--r-- | web/html/pkgbase.php | 4 | ||||
-rw-r--r-- | web/html/pkgreq.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 0b0f6ef..6fdaf40 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php @@ -97,9 +97,9 @@ if (check_token()) { } elseif (current_action("do_ChangeCategory")) { list($ret, $output) = pkgbase_change_category($base_id, $atype); } elseif (current_action("do_FileRequest")) { - list($ret, $output) = pkgbase_file_request($ids, $_POST['type'], $_POST['merge_into'], $_POST['comments']); + list($ret, $output) = pkgreq_file($ids, $_POST['type'], $_POST['merge_into'], $_POST['comments']); } elseif (current_action("do_CloseRequest")) { - list($ret, $output) = pkgbase_close_request($_POST['reqid']); + list($ret, $output) = pkgreq_close($_POST['reqid']); } if (isset($_REQUEST['comment'])) { diff --git a/web/html/pkgreq.php b/web/html/pkgreq.php index 5d708fc..156645a 100644 --- a/web/html/pkgreq.php +++ b/web/html/pkgreq.php @@ -16,7 +16,7 @@ if (!isset($base_id)) { exit(); } - $results = pkgbase_request_list(); + $results = pkgreq_list(); $total = count($results); /* Sanitize paging variables. */ |