summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgbasefuncs.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/pkgbasefuncs.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/pkgbasefuncs.inc.php')
-rw-r--r--web/lib/pkgbasefuncs.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php
index c597911..ec48314 100644
--- a/web/lib/pkgbasefuncs.inc.php
+++ b/web/lib/pkgbasefuncs.inc.php
@@ -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) {