implements feature request #46 to monitor other people's lists

http://sourceforge.net/p/phpgiftreg/feature-requests/46/
This commit is contained in:
Ryan Walberg 2012-11-30 03:25:55 +00:00
parent 6513d8a14c
commit a3bbdabbaa
6 changed files with 76 additions and 2 deletions

View file

@ -138,6 +138,8 @@ if (!empty($_REQUEST["action"])) {
// TODO: are we leaking allocs records here?
stampUser($userid, $smarty->dbh(), $smarty->opt());
processSubscriptions($userid, $action, $smarty->dbh(), $smarty->opt());
header("Location: " . getFullPath("index.php?message=Item+deleted."));
exit;
}
@ -192,6 +194,7 @@ if (!empty($_REQUEST["action"])) {
$stmt->execute();
stampUser($userid, $smarty->dbh(), $smarty->opt());
processSubscriptions($userid, $action, $smarty->dbh(), $smarty->opt());
header("Location: " . getFullPath("index.php"));
exit;
@ -229,6 +232,7 @@ if (!empty($_REQUEST["action"])) {
$stmt->execute();
stampUser($userid, $smarty->dbh(), $smarty->opt());
processSubscriptions($userid, $action, $smarty->dbh(), $smarty->opt());
header("Location: " . getFullPath("index.php"));
exit;