Minor fix on PlUser: declare the "email" field too.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 1 Sep 2010 19:21:33 +0000 (20:21 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 1 Sep 2010 19:21:33 +0000 (20:21 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/pluser.php

index 339a527..3e4418a 100644 (file)
@@ -61,9 +61,11 @@ abstract class PlUser
     protected $hruid = null;
 
     // User main email aliases (forlife is the for-life email address, bestalias
-    // is user-chosen preferred email address).
+    // is user-chosen preferred email address, email might be any email available
+    // for the user).
     protected $forlife = null;
     protected $bestalias = null;
+    protected $email = null;
 
     // Display name is user-chosen name to display (eg. in "Welcome
     // <display name> !"), while full name is the official full name.