Changeset 3248 in products for quintagroup.plonecomments/trunk/quintagroup/plonecomments/browser
- Timestamp:
- Jul 5, 2011 12:20:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/browser/comments.py
r3126 r3248 22 22 """ 23 23 render = ViewPageTemplateFile('comments.pt') 24 25 def __init__(self, *args): 26 super(CommentsViewlet, self).__init__(*args) 27 if hasattr(self,'login_url') and not hasattr(self,'login_action'): 28 # In plone 4.0 in plone.app.layout.viewlets.comments function login_ action 29 # was renamed to login_url 30 self.login_action = self.login_url 24 31 25 32 def is_moderation_enabled(self):
Note: See TracChangeset
for help on using the changeset viewer.