Revision 763,
1.1 KB
checked in by niltonneto, 15 years ago
(diff) |
Importação inicial do Expresso da Celepar
|
Line | |
---|
1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * eGroupWare * |
---|
4 | * http://www.egroupware.org * |
---|
5 | * Written by Mark Peters <skeeter@phpgroupware.org> * |
---|
6 | * -------------------------------------------- * |
---|
7 | * This program is free software; you can redistribute it and/or modify it * |
---|
8 | * under the terms of the GNU General Public License as published by the * |
---|
9 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
10 | * option) any later version. * |
---|
11 | \**************************************************************************/ |
---|
12 | |
---|
13 | |
---|
14 | if($_POST['account_id']) |
---|
15 | { |
---|
16 | $GLOBALS['phpgw']->accounts->delete($_POST['account_id']); |
---|
17 | $GLOBALS['phpgw']->db->lock(Array('phpgw_acl')); |
---|
18 | $GLOBALS['phpgw']->db->query("DELETE FROM phpgw_acl WHERE acl_location='" . $_POST['account_id'] |
---|
19 | . "' OR acl_account=".$_POST['account_id'],__LINE__,__FILE__); |
---|
20 | $GLOBALS['phpgw']->db->unlock(); |
---|
21 | } |
---|
22 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.