summaryrefslogtreecommitdiff
path: root/modules/notification/models
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-01 03:58:31 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-01 03:58:31 +0000
commit6f358291733b5844f5e9beaa747f554a0049e27a (patch)
treeaf9347258c8423ece92053180fea759720b04aef /modules/notification/models
parentd49484c9a65681f0ee41490c098a0b4d7a938c0e (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.php2
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