diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-22 16:53:27 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-22 21:13:43 +0200 |
commit | 0b8c11a37ae9dbaa5ca4cf64204515db31ea2b3a (patch) | |
tree | 3f4302ae12161b3ee20823749eebda86c739d254 /web/html/index.php | |
parent | 422d8026daaae0a9bc7270f071da22f5d66c4f0a (diff) |
Move package disowning to a separate page
The disown link in the package actions box leads to a new page
(pkgdisown.php) that can be used to confirm package disowning.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/index.php')
-rw-r--r-- | web/html/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/index.php b/web/html/index.php index fad1d2f..0275d0a 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -45,8 +45,8 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { $_POST['do_Adopt'] = __('Adopt'); break; case "disown": - $_POST['do_Disown'] = __('Disown'); - break; + include('pkgdisown.php'); + return; case "vote": $_POST['do_Vote'] = __('Vote'); break; |