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/models | |
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/models')
-rw-r--r-- | modules/notification/models/subscription.php | 2 |
1 files changed, 0 insertions, 2 deletions
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 |