"removing unnecessary instancations"

This commit is contained in:
Ralf Becker 2008-03-25 17:00:56 +00:00
parent 0c37486b65
commit 2cd4742695

View File

@ -409,10 +409,6 @@ class accounts
{
if (!$data['person_id']) $data['person_id'] = $old['person_id'];
if (!is_object($GLOBALS['egw']->contacts))
{
$GLOBALS['egw']->contacts =& CreateObject('phpgwapi.contacts');
}
$contact = array(
'n_given' => $data['account_firstname'],
'n_family' => $data['account_lastname'],