[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/accounts class.accounts_sql.php, 1.1.1.1.2.2, 1.
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/accounts class.accounts_sql.php, 1.1.1.1.2.2, 1.1.1.1.2.3 |
Date: |
Mon, 27 Oct 2003 08:54:11 +0000 |
Update of /cvsroot/phpgroupware/api/accounts
In directory subversions:/tmp/cvs-serv13762/api/accounts
Modified Files:
Tag: proposal-branch
class.accounts_sql.php
Log Message:
- Finished up user delete
- Apparently, PHP 4.2.0 and higher changed some naming for the PostgreSQL
functions making db->affected_rows() break. This is being looked into, this
change is for now.
Index: class.accounts_sql.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/accounts/class.accounts_sql.php,v
retrieving revision 1.1.1.1.2.2
retrieving revision 1.1.1.1.2.3
diff -C2 -d -r1.1.1.1.2.2 -r1.1.1.1.2.3
*** class.accounts_sql.php 26 Oct 2003 05:49:32 -0000 1.1.1.1.2.2
--- class.accounts_sql.php 27 Oct 2003 08:54:08 -0000 1.1.1.1.2.3
***************
*** 108,116 ****
$args = $args->get(func_get_args(),__LINE__,__FILE__);
! if($GLOBALS['acl']->check('.', 63))
{
- $this->db->lock(array('phpgw_accounts'));
$this->db->query('DELETE FROM phpgw_accounts
WHERE account_id=' . $account_id);
- $this->db->unlock();
return ($this->db->affected_rows() ? True :
False);
}
--- 108,114 ----
$args = $args->get(func_get_args(),__LINE__,__FILE__);
! if ($GLOBALS['phpgw']->acl->check('.', 63))
{
$this->db->query('DELETE FROM phpgw_accounts
WHERE account_id=' . $account_id);
return ($this->db->affected_rows() ? True :
False);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/accounts class.accounts_sql.php, 1.1.1.1.2.2, 1.1.1.1.2.3,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] api/skins/default default.css, 1.1.1.1.2.6, 1.1.1.1.2.7
- Next by Date:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.3, 1.1.2.4 class.lang.php, 1.1.2.6, 1.1.2.7
- Previous by thread:
[Phpgroupware-cvs] api/skins/default default.css, 1.1.1.1.2.6, 1.1.1.1.2.7
- Next by thread:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.3, 1.1.2.4 class.lang.php, 1.1.2.6, 1.1.2.7
- Index(es):