From b0e9cd83702cfd95312f0c60e1e405a3879ea66c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 23 Feb 2012 16:40:51 +0800 Subject: [PATCH] Fix: use hooks system --- htdocs/main.inc.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index bee75591f5c..cb6159afc0e 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1270,12 +1270,6 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a $parameters=array(); $toprightmenu.=$hookmanager->executeHooks('printTopRightMenu',$parameters); // Note that $action and $object may have been modified by some hooks - // TODO Replace this with a hook printToprightMenu to complete toprightmenu. - if (! empty($conf->multicompany->enabled)) - { - $mc->showInfo($conf->entity); - } - // Logout link $toprightmenu.=$form->textwithtooltip('',$logouthtmltext,2,1,$logouttext,'',1);