Changeset 580
- Timestamp:
- 01/08/09 14:53:33 (15 years ago)
- Location:
- trunk/calendar/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bogroup_access.inc.php
r421 r580 11 11 \**************************************************************************/ 12 12 13 13 14 class bogroup_access 14 15 { 15 16 final function __construct(){ 16 17 // Including ExpressoMail Classes 18 if(file_exists("../expressoMail1_2/inc/class.db_functions.inc.php")) 19 include_once("../expressoMail1_2/inc/class.db_functions.inc.php"); 20 if(file_exists("../expressoMail1_2/inc/class.ldap_functions.inc.php")) 21 include_once("../expressoMail1_2/inc/class.ldap_functions.inc.php"); 17 22 } 18 23 19 public final function search_user($params){ 20 $objLdap = CreateObject('expressoMail1_2.ldap_functions');24 public final function search_user($params){ 25 $objLdap = new ldap_functions(); 21 26 $objLdap -> ldapRootConnect(); 22 27 $ldap = $objLdap -> ds; … … 65 70 66 71 list($user,$group,$rights) = explode(";",$params['id']); 67 $objDB = CreateObject('expressoMail1_2.db_functions');72 $objDB = new db_functions(); 68 73 $db = $objDB -> db; 69 74 $db -> select('phpgw_acl','count(*)',array( … … 91 96 92 97 list($user,$group) = explode(";",$params['id']); 93 $objDB = CreateObject('expressoMail1_2.db_functions');98 $objDB = new db_functions(); 94 99 $db = $objDB -> db; 95 100 $db -> delete('phpgw_acl',array( -
trunk/calendar/inc/class.uigroup_access.inc.php
r421 r580 10 10 * option) any later version. * 11 11 \**************************************************************************/ 12 define('PHPGW_INCLUDE_ROOT','../'); 13 define('PHPGW_API_INC','../phpgwapi/inc'); 14 include_once(PHPGW_API_INC.'/common_functions.inc.php'); 12 include_once("class.bogroup_access.inc.php"); 15 13 16 14 class uigroup_access … … 30 28 { 31 29 32 $this->bo = CreateObject('calendar.bogroup_access');30 $this->bo = new bogroup_access(); 33 31 } 34 32
Note: See TracChangeset
for help on using the changeset viewer.