Bugfix in user.php
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 12 Aug 2009 14:25:03 +0000 (16:25 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 12 Aug 2009 14:25:03 +0000 (16:25 +0200)
I can't define promo() twice...

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/user.php

index e1f0c3b..71b21c9 100644 (file)
@@ -27,11 +27,6 @@ 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)
     {