hooks/email.py
changeset 3376 f5c69485381f
parent 3293 69c0ba095536
child 3421 7fec79c1c11f
--- a/hooks/email.py	Wed Sep 23 08:17:52 2009 +0200
+++ b/hooks/email.py	Wed Sep 23 08:42:52 2009 +0200
@@ -43,7 +43,7 @@
 
 class SetPrimaryEmailHook(hook.Hook):
     """notify when a bug or story or version has its state modified"""
-    __id__ = 'setprimaryemail'
+    __regid__ = 'setprimaryemail'
     __select__ = hook.Hook.__select__ & hook.match_rtype('use_email')
     category = 'email'
     events = ('after_add_relation',)
@@ -56,7 +56,7 @@
 
 class SetUseEmailHook(hook.Hook):
     """notify when a bug or story or version has its state modified"""
-    __id__ = 'setprimaryemail'
+    __regid__ = 'setprimaryemail'
     __select__ = hook.Hook.__select__ & hook.match_rtype('primary_email')
     category = 'email'
     events = ('after_add_relation',)