mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Turn on package notification for adopted packages
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
d53901eecd
commit
13cd9591be
1 changed files with 1 additions and 0 deletions
|
@ -778,6 +778,7 @@ function pkg_adopt ($atype, $ids, $action = True) {
|
|||
db_query($q, $dbh);
|
||||
|
||||
if ($action) {
|
||||
pkg_notify(account_from_sid($_COOKIE["AURSID"]), $ids);
|
||||
return __("The selected packages have been adopted.");
|
||||
} else {
|
||||
return __("The selected packages have been disowned.");
|
||||
|
|
Loading…
Add table
Reference in a new issue