From: Raphaël Barrois Date: Tue, 21 Jul 2009 14:03:44 +0000 (+0200) Subject: Finish moving "promo" field in X.org specific User class X-Git-Tag: xorg/0.10.1~8 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6c41ada016a5143aa91828a2fb6a23fb513b23d2;p=platal.git Finish moving "promo" field in X.org specific User class Signed-off-by: Raphaël Barrois --- diff --git a/classes/user.php b/classes/user.php index c50b78c..e5d8cdf 100644 --- a/classes/user.php +++ b/classes/user.php @@ -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) {