From: Stéphane Jacob Date: Tue, 8 Mar 2011 08:41:56 +0000 (+0100) Subject: Retrieves forlifeEmailAlternate from core. X-Git-Tag: xorg/1.1.0~52 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;ds=inline;h=72e12532436d45acbb427b987386eff2bdff169e;p=platal.git Retrieves forlifeEmailAlternate from core. Signed-off-by: Stéphane Jacob --- diff --git a/classes/user.php b/classes/user.php index b11bacf..038fea7 100644 --- a/classes/user.php +++ b/classes/user.php @@ -362,6 +362,14 @@ class User extends PlUser } } + public function forlifeEmailAlternate() + { + if (!empty($this->forlife_alternate)) { + return $this->forlife_alternate; + } + return $this->email; + } + /** Fetch existing auxiliary alias. */ public function emailAlias() diff --git a/core b/core index a6522bb..38d6691 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a6522bb9e59e898a417a7da1acdd31ba45838c86 +Subproject commit 38d66919e0b8d40eb28d2ffcf81ae11f8452cfe1