phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.82,1.8


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.82,1.83
Date: Wed, 13 Mar 2002 20:42:18 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv6144

Modified Files:
        class.accounts_sql.inc.php 
Log Message:
added function to fetch some accountsdata

Index: class.accounts_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_sql.inc.php,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -r1.82 -r1.83
*** class.accounts_sql.inc.php  15 Feb 2002 18:55:11 -0000      1.82
--- class.accounts_sql.inc.php  14 Mar 2002 01:42:15 -0000      1.83
***************
*** 361,365 ****
                                else
                                {
!                                       // If they don't have a default group, 
they need some sort of permissions.
                                        // This generally doesn't / shouldn't 
happen, but will (jengo)
                                        $this->db->query("insert into phpgw_acl 
(acl_appname, acl_location, acl_account, acl_rights) values('preferences', 
'changepassword', ".$accountid.", 1)",__LINE__,__FILE__);
--- 361,365 ----
                                else
                                {
!                                       // If they dont have a default group, 
they need some sort of permissions.
                                        // This generally doesn't / shouldn't 
happen, but will (jengo)
                                        $this->db->query("insert into phpgw_acl 
(acl_appname, acl_location, acl_account, acl_rights) values('preferences', 
'changepassword', ".$accountid.", 1)",__LINE__,__FILE__);
***************
*** 399,403 ****
                        return;
                }
!       } 
        /*!
         @class_end accounts
--- 399,417 ----
                        return;
                }
! 
!               function get_account_data($account_id)
!               {
!                       $this->account_id = $account_id;
!                       $this->read_repository();
! 
!                       $data[$this->data['account_id']]['lid']                 
= $this->data['account_lid'];
!                       $data[$this->data['account_id']]['firstname']   = 
$this->data['firstname'];
!                       $data[$this->data['account_id']]['lastname']    = 
$this->data['lastname'];
!                       $data[$this->data['account_id']]['fullname']    = 
$this->data['fullname'];
!                       $data[$this->data['account_id']]['type']                
= $this->data['account_type'];
! 
!                       return $data;
!               }
!       }
        /*!
         @class_end accounts




reply via email to

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