phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.6,1.7


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.6,1.7
Date: Wed, 16 Oct 2002 11:27:36 -0400

Update of /cvsroot/phpgroupware/property/inc
In directory subversions:/tmp/cvs-serv9129/inc

Modified Files:
        functions.inc.php 
Log Message:
no message

Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/functions.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** functions.inc.php   24 Sep 2002 15:44:46 -0000      1.6
--- functions.inc.php   16 Oct 2002 15:27:09 -0000      1.7
***************
*** 770,792 ****
        }
  
-       function get_list_role($role='',$join='')
-       {
-               $db2=$GLOBALS['phpgw']->db;
-               $sql = "SELECT * FROM phpgw_accounts $join fm_admin on 
phpgw_accounts.account_id=fm_admin.account_id where $role ='1'";
-               $db2->query($sql,__LINE__,__FILE__);
-               while ($db2->next_record())
-               {
-                       $employees[] = Array(
-                               'account_id'        => $db2->f('account_id'),
-                               'account_lid'       => $db2->f('account_lid'),
-                               'account_type'      => $db2->f('account_type'),
-                               'account_firstname' => 
$db2->f('account_firstname'),
-                               'account_lastname'  => 
$db2->f('account_lastname'),
-                               'account_status'    => 
$db2->f('account_status'),
-                               'account_expires'   => 
$db2->f('account_expires')
-                       );
-               }
-               return $employees;
-       }
- // ---------invoice
  ?>
--- 770,772 ----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]