summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAndrea Scarpino <andrea@archlinux.org>2010-03-10 22:42:36 +0100
committerLoui Chang <louipc.ist@gmail.com>2010-03-16 03:20:08 +0100
commit13cd9591be79234ea117150af7c457b3ef1978eb (patch)
tree0c05cd604335dcfbf57c79dd9ccb6772ae11d44b /web
parentd53901eecd1472d5519391f9d280e5c7cec75a40 (diff)
downloadaur-13cd9591be79234ea117150af7c457b3ef1978eb.tar.gz
aur-13cd9591be79234ea117150af7c457b3ef1978eb.tar.xz
Turn on package notification for adopted packages
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgfuncs.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 37e43190..60f7d89e 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -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.");