[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [19032] Remove unneeded code for acl deletion
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [19032] Remove unneeded code for acl deletion |
Date: |
Wed, 21 Jan 2009 18:12:21 +0000 |
Revision: 19032
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19032
Author: Caeies
Date: 2009-01-21 18:12:21 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
Remove unneeded code for acl deletion
Modified Paths:
--------------
core/trunk/admin/inc/hook_deleteaccount.inc.php
Modified: core/trunk/admin/inc/hook_deleteaccount.inc.php
===================================================================
--- core/trunk/admin/inc/hook_deleteaccount.inc.php 2009-01-21 18:11:49 UTC
(rev 19031)
+++ core/trunk/admin/inc/hook_deleteaccount.inc.php 2009-01-21 18:12:21 UTC
(rev 19032)
@@ -32,9 +32,6 @@
}
$GLOBALS['phpgw']->accounts->delete($account_id);
- $GLOBALS['phpgw']->db->lock(Array('phpgw_acl'));
- $GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE
acl_location='$account_id'"
- . " OR acl_account = {$account_id}", __LINE__,
__FILE__);
- $GLOBALS['phpgw']->db->unlock();
+ //XXX Caeies Jan09: No needs to delete acls, since it's already
done in the accounts->delete call
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [19032] Remove unneeded code for acl deletion,
Caeies <=