From 07d7f498eb1afd3fbba0e385d8b4569e4758ebf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 15 Feb 2010 15:31:53 +0100 Subject: [PATCH] Switch last uses of VCard to Profile system MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- modules/profile.php | 2 +- modules/xnetgrp.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.1.4