Fix disabled favorite menu in SideMenu of Addressbook.

This commit is contained in:
Hadi Nategh 2013-09-24 14:19:59 +00:00
parent e7a5418af2
commit 484a2bf6fc

View File

@ -29,10 +29,6 @@ class addressbook_hooks
if ($location == 'sidebox_menu')
{
// Magic etemplate2 favorites menu (from nextmatch widget)
$et = new ReflectionClass('etemplate');
$is_et2 = ($et->isSubclassOf(new ReflectionClass('etemplate_widget')));
if($is_et2)
{
display_sidebox($appname,lang('Favorites'),array(
array(
'no_lang' => true,
@ -41,7 +37,6 @@ class addressbook_hooks
'icon' => false
)
));
}
$file = array(
'Add' => "javascript:egw_openWindowCentered2('".
egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.edit'),false).