Finish moving "promo" field in X.org specific User class
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 21 Jul 2009 14:03:44 +0000 (16:03 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 21 Jul 2009 14:03:44 +0000 (16:03 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/user.php

index c50b78c..e5d8cdf 100644 (file)
@@ -24,6 +24,11 @@ class User extends PlUser
     // Additional fields (non core)
     protected $promo = null;
 
+    public function promo()
+    {
+        return $this->promo;
+    }
+
     // Implementation of the login to uid method.
     protected function getLogin($login)
     {