From c8763ca3355d508abb501b0e1d73e013daff07e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 1 Mar 2010 14:56:44 +0100 Subject: [PATCH] Typos (UFC -> PFC). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- classes/group.php | 2 +- include/marketing.inc.php | 2 +- include/userset.inc.php | 2 +- modules/xnetevents/xnetevents.inc.php | 2 +- modules/xnetgrp.php | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/classes/group.php b/classes/group.php index a13b077..1268ded 100644 --- a/classes/group.php +++ b/classes/group.php @@ -56,7 +56,7 @@ class Group { $cond = new UFC_Group($this->id, $admin); if (!is_null($extra_cond)) { - $cond = new UFC_And($cond, $extra_cond); + $cond = new PFC_And($cond, $extra_cond); } return new UserFilter($cond, $sort); } diff --git a/include/marketing.inc.php b/include/marketing.inc.php index 97ccdad..b142dd0 100644 --- a/include/marketing.inc.php +++ b/include/marketing.inc.php @@ -188,7 +188,7 @@ class Marketing static public function getAliveUsersCount() { - $uf = new UserFilter(new UFC_Not(new UFC_Dead())); + $uf = new UserFilter(new PFC_Not(new UFC_Dead())); return $uf->getTotalCount(); } diff --git a/include/userset.inc.php b/include/userset.inc.php index fb6c5e8..55647df 100644 --- a/include/userset.inc.php +++ b/include/userset.inc.php @@ -98,7 +98,7 @@ class SearchSet extends ProfileSet if (S::logged() && Env::has('nonins')) { $this->conds = new PFC_And($this->conds, - new UFC_Not(new UFC_Dead()), + new PFC_Not(new UFC_Dead()), new UFC_Registered() ); } diff --git a/modules/xnetevents/xnetevents.inc.php b/modules/xnetevents/xnetevents.inc.php index 07183d5..be5eeac 100644 --- a/modules/xnetevents/xnetevents.inc.php +++ b/modules/xnetevents/xnetevents.inc.php @@ -120,7 +120,7 @@ function get_event_participants(&$evt, $item_id, array $tri = array(), $count = FROM group_event_participants AS ep WHERE ep.eid = {?} AND nb > 0 ' . $append . ' GROUP BY ep.uid', $eid); - $uf = new UserFilter(new UFC_True(), $tri); + $uf = new UserFilter(new PFC_True(), $tri); $users = User::getBulkUsersWithUIDs($uf->filter(array_keys($query), $count, $offset)); $tab = array(); foreach ($users as $user) { diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index cb91306..a1f3970 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -590,7 +590,7 @@ class XnetGrpModule extends PLModule $not_in_group_ext = array(); foreach ($subscribers as $mail) { - $uf = new UserFilter(new UFC_And(new UFC_Group($globals->asso('id')), + $uf = new UserFilter(new PFC_And(new UFC_Group($globals->asso('id')), new UFC_Email($mail))); if ($uf->getTotalCount() == 0) { if (User::isForeignEmailAddress($mail)) { @@ -675,7 +675,7 @@ class XnetGrpModule extends PLModule } if (empty($users)) { list($nom, $prenom) = str_replace(array('-', ' ', "'"), '%', array(Env::t('nom'), Env::t('prenom'))); - $cond = new UFC_And(new UFC_Not(new UFC_Registered())); + $cond = new PFC_And(new PFC_Not(new UFC_Registered())); if (!empty($nom)) { $cond->addChild(new UFC_Name(Profile::LASTNAME, $nom, UFC_Name::CONTAINS)); } -- 2.1.4