mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +01:00
Remove un-needed variable in acl add
This commit is contained in:
parent
548d841d1e
commit
b733042a9a
@ -294,12 +294,11 @@ It should use the values in the $this->data
|
|||||||
* These are the generic functions. Not specific to $this->account_id *
|
* These are the generic functions. Not specific to $this->account_id *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
function add_repository($app, $location, $account_id, $account_type, $rights)
|
function add_repository($app, $location, $account_id, $rights)
|
||||||
{
|
{
|
||||||
$this->delete_repository($app, $location, $account_id);
|
$this->delete_repository($app, $location, $account_id);
|
||||||
$sql = 'insert into phpgw_acl (acl_appname, acl_location, acl_account, acl_account_type, acl_rights)';
|
$sql = 'insert into phpgw_acl (acl_appname, acl_location, acl_account, acl_rights)';
|
||||||
$sql .= " values ('" . $app . "','" . $location . "','" . $account_id . "','" . $account_type
|
$sql .= " values ('" . $app . "','" . $location . "','" . $account_id . "','" . $rights . "')";
|
||||||
. "','" . $rights . "')";
|
|
||||||
$this->db->query($sql ,__LINE__,__FILE__);
|
$this->db->query($sql ,__LINE__,__FILE__);
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user