From: Vincent Zanotti Date: Fri, 13 Jun 2008 16:35:30 +0000 (+0200) Subject: Removes the last direct call to get_user_login(). X-Git-Tag: xorg/0.10.0~86^2~92 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e8031568d340686d20c150301e034dfb777e95b6;p=platal.git Removes the last direct call to get_user_login(). Signed-off-by: Vincent Zanotti --- diff --git a/modules/carnet.php b/modules/carnet.php index febcf3b..39e645e 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -236,7 +236,7 @@ class CarnetModule extends PLModule case 'ajouter': require_once('user.func.inc.php'); - if (($login = get_user_login($user)) !== false) { + if (($login = get_user_forlife($user)) !== false) { if (XDB::execute( 'REPLACE INTO contacts (uid, contact) SELECT {?}, id