web/views/massmailing.py
branchtls-sprint
changeset 640 8e64f12be69c
parent 635 305da8d6aa2d
child 742 99115e029dca
--- a/web/views/massmailing.py	Mon Feb 16 20:06:18 2009 +0100
+++ b/web/views/massmailing.py	Mon Feb 16 20:51:24 2009 +0100
@@ -1,7 +1,7 @@
 """Mass mailing form views
 
 :organization: Logilab
-:copyright: 2007-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 
@@ -12,11 +12,11 @@
 from cubicweb.interfaces import IEmailable
 from cubicweb.selectors import implements, match_user_groups
 from cubicweb.common.view import EntityView
-from cubicweb.web.action import EntityAction
+from cubicweb.web.action import Action
 from cubicweb.web import stdmsgs
 
 
-class SendEmailAction(EntityAction):
+class SendEmailAction(Action):
     category = 'mainactions'
     # XXX should check email is set as well
     __selectors__ = (implements(IEmailable), match_user_groups('managers', 'users'))