[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] hrm/inc class.acl2.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] hrm/inc class.acl2.inc.php |
Date: |
Wed, 22 Feb 2006 09:07:08 +0000 |
CVSROOT: /sources/phpgroupware
Module name: hrm
Branch:
Changes by: Sigurd Nes <address@hidden> 06/02/22 09:07:08
Modified files:
inc : class.acl2.inc.php
Log message:
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/hrm/inc/class.acl2.inc.php.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: hrm/inc/class.acl2.inc.php
diff -u hrm/inc/class.acl2.inc.php:1.6 hrm/inc/class.acl2.inc.php:1.7
--- hrm/inc/class.acl2.inc.php:1.6 Fri Jan 27 17:02:29 2006
+++ hrm/inc/class.acl2.inc.php Wed Feb 22 09:07:08 2006
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage accounts
- * @version $Id: class.acl2.inc.php,v 1.6 2006/01/27 17:02:29 sigurdne
Exp $
+ * @version $Id: class.acl2.inc.php,v 1.7 2006/02/22 09:07:08 sigurdne
Exp $
*/
/**
@@ -772,12 +772,12 @@
*/
function get_grants_type($app='',$location='',$type = '')
{
- $this->db2 = CreateObject('phpgwapi.db');
- $this->db2->Host =
$GLOBALS['phpgw_info']['server']['db_host'];
- $this->db2->Type =
$GLOBALS['phpgw_info']['server']['db_type'];
- $this->db2->Database =
$GLOBALS['phpgw_info']['server']['db_name'];
- $this->db2->User =
$GLOBALS['phpgw_info']['server']['db_user'];
- $this->db2->Password =
$GLOBALS['phpgw_info']['server']['db_pass'];
+ $db2 = CreateObject('phpgwapi.db');
+ $db2->Host =
$GLOBALS['phpgw_info']['server']['db_host'];
+ $db2->Type =
$GLOBALS['phpgw_info']['server']['db_type'];
+ $db2->Database =
$GLOBALS['phpgw_info']['server']['db_name'];
+ $db2->User =
$GLOBALS['phpgw_info']['server']['db_user'];
+ $db2->Password =
$GLOBALS['phpgw_info']['server']['db_pass'];
// $db2 = $this->db;
- [Phpgroupware-cvs] hrm/inc class.acl2.inc.php,
Sigurd Nes <=