[CMF-checkins] SVN: CMF/trunk/CMFDefault/RegistrationTool.py oops!
this fallbacks are broken and I guess we don't need them anyway
Yvo Schubbe
y.2006_ at wcm-solutions.de
Tue Feb 14 17:19:40 EST 2006
Log message for revision 41622:
oops! this fallbacks are broken and I guess we don't need them anyway
Changed:
U CMF/trunk/CMFDefault/RegistrationTool.py
-=-
Modified: CMF/trunk/CMFDefault/RegistrationTool.py
===================================================================
--- CMF/trunk/CMFDefault/RegistrationTool.py 2006-02-14 21:47:30 UTC (rev 41621)
+++ CMF/trunk/CMFDefault/RegistrationTool.py 2006-02-14 22:19:40 UTC (rev 41622)
@@ -131,8 +131,7 @@
# Rather than have the template try to use the mailhost, we will
# render the message ourselves and send it from here (where we
# don't need to worry about 'UseMailHost' permissions).
- method = getattr(self, 'member_password_mail',
- getattr(self, 'mail_password_template'))
+ method = getattr(self, 'member_password_mail')
kw = {'member': member, 'password': member.getPassword()}
if getattr(aq_base(method), 'isDocTemp', 0):
@@ -173,8 +172,7 @@
# Rather than have the template try to use the mailhost, we will
# render the message ourselves and send it from here (where we
# don't need to worry about 'UseMailHost' permissions).
- method = getattr(self, 'member_registered_mail',
- getattr(self, 'registered_notify_template'))
+ method = getattr(self, 'member_registered_mail')
kw = {'member': member, 'password': password, 'email': email}
if getattr(aq_base(method), 'isDocTemp', 0):
More information about the CMF-checkins
mailing list