Commit 4fe513d8 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Do not redirect to details page after deletion



When deleting a package base from the package base deletion form, do not
try to redirect to the package base details page afterwards. Instead,
jump to the package overview.

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 90e96e37
......@@ -77,6 +77,7 @@ if (check_token()) {
if (!isset($_POST['merge_Into']) || empty($_POST['merge_Into'])) {
list($ret, $output) = pkgbase_delete($ids, NULL, $via);
unset($_GET['ID']);
unset($base_id);
}
else {
$merge_base_id = pkgbase_from_name($_POST['merge_Into']);
......@@ -89,6 +90,7 @@ if (check_token()) {
} else {
list($ret, $output) = pkgbase_delete($ids, $merge_base_id, $via);
unset($_GET['ID']);
unset($base_id);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment