mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
removed unnecessary instanciations
This commit is contained in:
parent
69643ecb73
commit
f562ea44f3
@ -59,18 +59,8 @@ class uicontacts extends bocontacts
|
||||
{
|
||||
$this->bocontacts($contact_app);
|
||||
|
||||
foreach(array(
|
||||
'tmpl' => 'etemplate.etemplate',
|
||||
) as $my => $app_class)
|
||||
{
|
||||
list(,$class) = explode('.',$app_class);
|
||||
$this->tmpl = new etemplate();
|
||||
|
||||
if (!is_object($GLOBALS['egw']->$class))
|
||||
{
|
||||
$GLOBALS['egw']->$class =& CreateObject($app_class);
|
||||
}
|
||||
$this->$my = &$GLOBALS['egw']->$class;
|
||||
}
|
||||
$this->private_addressbook = $this->contact_repository == 'sql' && $this->prefs['private_addressbook'];
|
||||
|
||||
$this->org_views = array(
|
||||
|
Loading…
Reference in New Issue
Block a user