mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
dde0482d10
commit
74a82bb2fb
4 changed files with 8 additions and 8 deletions
|
@ -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'])) {
|
||||
|
|
|
@ -16,7 +16,7 @@ if (!isset($base_id)) {
|
|||
exit();
|
||||
}
|
||||
|
||||
$results = pkgbase_request_list();
|
||||
$results = pkgreq_list();
|
||||
$total = count($results);
|
||||
|
||||
/* Sanitize paging variables. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue