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
|
@ -540,7 +540,7 @@ function pkgbase_delete ($atype, $base_ids, $merge_base_id, $via) {
|
|||
$dbh->exec($q);
|
||||
|
||||
if ($via) {
|
||||
pkgbase_close_request(intval($via));
|
||||
pkgreq_close(intval($via));
|
||||
}
|
||||
|
||||
return array(true, __("The selected packages have been deleted."));
|
||||
|
@ -598,7 +598,7 @@ function pkgbase_adopt ($atype, $base_ids, $action=true, $via) {
|
|||
$dbh->exec($q);
|
||||
|
||||
if ($via) {
|
||||
pkgbase_close_request(intval($via));
|
||||
pkgreq_close(intval($via));
|
||||
}
|
||||
|
||||
if ($action) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue