mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02: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);
|
$this->bocontacts($contact_app);
|
||||||
|
|
||||||
foreach(array(
|
$this->tmpl = new etemplate();
|
||||||
'tmpl' => 'etemplate.etemplate',
|
|
||||||
) as $my => $app_class)
|
|
||||||
{
|
|
||||||
list(,$class) = explode('.',$app_class);
|
|
||||||
|
|
||||||
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->private_addressbook = $this->contact_repository == 'sql' && $this->prefs['private_addressbook'];
|
||||||
|
|
||||||
$this->org_views = array(
|
$this->org_views = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user