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/models/subscription.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/notification/models') diff --git a/modules/notification/models/subscription.php b/modules/notification/models/subscription.php index aa90a58c..9d728009 100644 --- a/modules/notification/models/subscription.php +++ b/modules/notification/models/subscription.php @@ -18,6 +18,4 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class Subscription_Model extends ORM { - protected $has_one = array("item"); - protected $has_many = array("user"); } \ No newline at end of file -- cgit v1.2.3