Peter Dimov wrote:
>> restrict_owner works now but I don't get any notifications sent out, not
>> even to the always_bcc address. Could the patch have something to do
>> with that?
>
> I figured that out. I had to change a line in trac/notification.py and
> modify dbauthplugin/0.10/userdir.py to reflect my need for the database
> I'm using.
>
> Thanks!
>
> Peter
>
> Index: trac/notification.py
> ===================================================================
> --- trac/notification.py (revision 4688)
> +++ trac/notification.py (working copy)
> @@ -163,7 +163,7 @@
> self._init_pref_encoding()
> # Get the email addresses of all known users
> self.email_map = {}
> - for username, name, email in self.env.get_known_users(self.db):
> + for username, name, email in self.env.get_known_user_info():
> if email:
> self.email_map[username] = email
Yes, I think I found that one, too, recently. It should be a part of the
patch on #2456. Feel free to upload a patch with this reflected in it.
BA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---