From 2cd4742695f622dff19176dc960e8405e64123d1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 25 Mar 2008 17:00:56 +0000 Subject: [PATCH] "removing unnecessary instancations" --- phpgwapi/inc/class.accounts.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index b0bebf6fc4..eb5a6e68c9 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -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'],