mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 09:32:08 +02:00
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:
parent
19dcc2e654
commit
b79af79410
@ -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;
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user