From: Vincent Zanotti Date: Sat, 5 Apr 2008 19:11:29 +0000 (+0200) Subject: Tailors the 'nomdusage' validation email according to the recipient (and not to the... X-Git-Tag: xorg/0.9.16~27 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=96459fa427c46a76c4713fe21f245589bc158a81;p=platal.git Tailors the 'nomdusage' validation email according to the recipient (and not to the admin). Signed-off-by: Vincent Zanotti --- diff --git a/include/validations/nomusage.inc.php b/include/validations/nomusage.inc.php index 26181b6..952c0c1 100644 --- a/include/validations/nomusage.inc.php +++ b/include/validations/nomusage.inc.php @@ -94,7 +94,7 @@ class UsageReq extends Validate } if ($globals->mailstorage->googleapps_domain) { require_once 'googleapps.inc.php'; - $account = new GoogleAppsAccount(S::v('uid'), S::v('forlife')); + $account = new GoogleAppsAccount($this->uid, $this->forlife); if ($account->active()) { $res .= "\n\n Si tu utilises Google Apps, tu peux changer ton nom d'usage sur https://mail.google.com/a/polytechnique.org/#settings/accounts"; }