Fix notification handling on submission and adoption

Automatically add users to the notification list when adopting a
package. This used to work bug was broken by 03c6304 (Rework permission
handling, 2014-07-15). Fixes FS#41426.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-08-06 00:08:46 +02:00
parent 237a4570e2
commit 0613a637b3
2 changed files with 2 additions and 2 deletions

View file

@ -380,7 +380,7 @@ if ($uid):
* notification list.
*/
if ($was_orphan) {
pkgbase_notify(account_from_sid($_COOKIE["AURSID"]), array($base_id), true);
pkgbase_notify(array($base_id), true);
}
end_atomic_commit();