diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-01 03:58:31 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-01 03:58:31 +0000 |
commit | 6f358291733b5844f5e9beaa747f554a0049e27a (patch) | |
tree | af9347258c8423ece92053180fea759720b04aef /modules/notification/helpers/notification_installer.php | |
parent | d49484c9a65681f0ee41490c098a0b4d7a938c0e (diff) |
Simplify the setting of a notifications. Notifications are not only
set on a album. The notifications are implicitly active for all child
elements.
It now sends emails if the email address of the subscribed user has
been set. No email, no attempt to send the notification.
Still to do, come up with better messages as the current ones are just
place holders.
Diffstat (limited to 'modules/notification/helpers/notification_installer.php')
-rw-r--r-- | modules/notification/helpers/notification_installer.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/notification/helpers/notification_installer.php b/modules/notification/helpers/notification_installer.php index c2a9828f..f705fe68 100644 --- a/modules/notification/helpers/notification_installer.php +++ b/modules/notification/helpers/notification_installer.php @@ -26,7 +26,6 @@ class notification_installer { $db->query("CREATE TABLE IF NOT EXISTS `subscriptions` ( `id` int(9) NOT NULL auto_increment, `item_id` int(9) NOT NULL, - `apply_to_children` tinyint(1) NOT NULL, `user_id` int(9) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY (`item_id`, `user_id`), |