From 6f358291733b5844f5e9beaa747f554a0049e27a Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 1 Feb 2009 03:58:31 +0000 Subject: 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. --- modules/notification/helpers/notification_installer.php | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/notification/helpers/notification_installer.php') 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`), -- cgit v1.2.3