Remove X.org-specific "promo" field from PlUser
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 30 Jun 2009 10:26:15 +0000 (12:26 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 30 Jun 2009 10:26:15 +0000 (12:26 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/pluser.php

index 6a55a14..4cd8edc 100644 (file)
@@ -54,6 +54,9 @@ abstract class PlUser
      * By convention, null means the information hasn't been fetched yet, and
      * false means the information is not available.
      */
+
+    // user_id is internal user ID (potentially numeric), whereas hruid is a
+    // "human readable" unique ID
     protected $user_id = null;
     protected $hruid = null;
 
@@ -66,7 +69,6 @@ abstract class PlUser
     // <display name> !"), while full name is the official full name.
     protected $display_name = null;
     protected $full_name = null;
-    protected $promo = null;
 
     // Other important parameters used when sending emails.
     protected $gender = null;  // Acceptable values are GENDER_MALE and GENDER_FEMALE