diff -r b718626a0e60 -r 13b0b96d7982 mail.py --- a/mail.py Mon Mar 08 19:02:35 2010 +0100 +++ b/mail.py Tue Mar 09 08:59:43 2010 +0100 @@ -215,16 +215,9 @@ """return a list of either 2-uple (email, language) or user entity to who this email should be sent """ - # use super_session when available, we don't want to consider security - # when selecting recipients_finder - try: - req = self._cw.super_session - except AttributeError: - req = self._cw - finder = self._cw.vreg['components'].select('recipients_finder', req, - rset=self.cw_rset, - row=self.cw_row or 0, - col=self.cw_col or 0) + finder = self._cw.vreg['components'].select( + 'recipients_finder', self._cw, rset=self.cw_rset, + row=self.cw_row or 0, col=self.cw_col or 0) return finder.recipients() def send_now(self, recipients, msg):