From: Raphaël Barrois Date: Mon, 15 Feb 2010 14:31:53 +0000 (+0100) Subject: Switch last uses of VCard to Profile system X-Git-Tag: xorg/1.0.0~332^2~211 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=07d7f498eb1afd3fbba0e385d8b4569e4758ebf0;p=platal.git Switch last uses of VCard to Profile system Signed-off-by: Raphaël Barrois --- diff --git a/modules/profile.php b/modules/profile.php index e1c70c0..51bde1e 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -747,7 +747,7 @@ class ProfileModule extends PLModule } $vcard = new VCard(); - $vcard->addUser($x); + $vcard->addProfile(Profile::get($x)); $vcard->show(); } diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index 3348d2c..c669cb4 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -340,7 +340,7 @@ class XnetGrpModule extends PLModule { global $globals; $vcard = new VCard($photos == 'photos', 'Membre du groupe ' . $globals->asso('nom')); - $vcard->addUsers($globals->asso()->getMembers()->getUIDs()); + $vcard->addProfiles($globals->asso()->getMembers()->getProfiles()); $vcard->show(); }