mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
"removing unnecessary instancations"
This commit is contained in:
parent
0c37486b65
commit
2cd4742695
@ -409,10 +409,6 @@ class accounts
|
|||||||
{
|
{
|
||||||
if (!$data['person_id']) $data['person_id'] = $old['person_id'];
|
if (!$data['person_id']) $data['person_id'] = $old['person_id'];
|
||||||
|
|
||||||
if (!is_object($GLOBALS['egw']->contacts))
|
|
||||||
{
|
|
||||||
$GLOBALS['egw']->contacts =& CreateObject('phpgwapi.contacts');
|
|
||||||
}
|
|
||||||
$contact = array(
|
$contact = array(
|
||||||
'n_given' => $data['account_firstname'],
|
'n_given' => $data['account_firstname'],
|
||||||
'n_family' => $data['account_lastname'],
|
'n_family' => $data['account_lastname'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user