Use flag 'registration'.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 11 Feb 2009 07:42:43 +0000 (08:42 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 11 Feb 2009 07:42:43 +0000 (08:42 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/notifs.inc.php

index 0cdfdf5..a07ca24 100644 (file)
@@ -45,8 +45,8 @@ class WatchRegistration
     {
         return new UFC_And(new UFC_Registered(false, '>', $user->watch_last),
                            new UFC_Or(new UFC_WatchContacts($user->id()),
-                                      new UFC_WatchPromo($user->id()),
-                                      new UFC_WatchRegistration($user->id())));
+                                      new UFC_WatchPromo($user->id())),
+                           new UFC_WatchRegistration($user->id()));
     }
 }