mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +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 *
|
||||
\**************************************************************************/
|
||||
|
||||
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);
|
||||
$sql = 'insert into phpgw_acl (acl_appname, acl_location, acl_account, acl_account_type, acl_rights)';
|
||||
$sql .= " values ('" . $app . "','" . $location . "','" . $account_id . "','" . $account_type
|
||||
. "','" . $rights . "')";
|
||||
$sql = 'insert into phpgw_acl (acl_appname, acl_location, acl_account, acl_rights)';
|
||||
$sql .= " values ('" . $app . "','" . $location . "','" . $account_id . "','" . $rights . "')";
|
||||
$this->db->query($sql ,__LINE__,__FILE__);
|
||||
return True;
|
||||
}
|
||||
|
@ -813,7 +813,7 @@
|
||||
if ($phpgw_info["flags"]["newsmode"])
|
||||
{
|
||||
$phpgw_info["user"]["preferences"]["email"]["mail_server_type"] = "nntp";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user