remove felamimail from static app_list in egw_link, as felamimail is implementing search_link; gather only apps for link that implement query and title

This commit is contained in:
Klaus Leithoff 2012-01-06 10:11:16 +00:00
parent 19dcc2e654
commit b79af79410
2 changed files with 1 additions and 7 deletions

View File

@ -539,7 +539,7 @@ class customfields_widget
if (is_null($link_types)) if (is_null($link_types))
{ {
$link_types = array_keys(egw_link::app_list()); $link_types = array_keys(array_intersect(egw_link::app_list('query'),egw_link::app_list('title')));
$link_types[] = 'link-entry'; $link_types[] = 'link-entry';
} }
return $link_types; return $link_types;

View File

@ -108,12 +108,6 @@ class egw_link extends solink
* @var array * @var array
*/ */
static $app_register = array( static $app_register = array(
'felamimail' => array(
'add' => array(
'menuaction' => 'felamimail.uicompose.compose',
),
'add_popup' => '700x750',
),
'home-accounts' => array( // user need run-rights for home 'home-accounts' => array( // user need run-rights for home
'name' => 'Accounts', 'name' => 'Accounts',
'icon' => 'addressbook/accounts', 'icon' => 'addressbook/accounts',