Typos (UFC -> PFC).
authorStéphane Jacob <sj@m4x.org>
Mon, 1 Mar 2010 13:56:44 +0000 (14:56 +0100)
committerStéphane Jacob <sj@m4x.org>
Mon, 1 Mar 2010 13:56:44 +0000 (14:56 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/group.php
include/marketing.inc.php
include/userset.inc.php
modules/xnetevents/xnetevents.inc.php
modules/xnetgrp.php

index a13b077..1268ded 100644 (file)
@@ -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);
     }
index 97ccdad..b142dd0 100644 (file)
@@ -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();
     }
 
index fb6c5e8..55647df 100644 (file)
@@ -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()
             );
         }
index 07183d5..be5eeac 100644 (file)
@@ -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) {
index cb91306..a1f3970 100644 (file)
@@ -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));
             }