mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:19:09 +01:00
sync with head - fix for bug #914383: WE will only display this link, if LDAP is used for accounts and
defined in setup as such. Other users dont get confused then.
This commit is contained in:
parent
a09332a13d
commit
71ef369120
@ -107,8 +107,10 @@
|
|||||||
|
|
||||||
function adminMenu()
|
function adminMenu()
|
||||||
{
|
{
|
||||||
$data = Array
|
if ($GLOBALS['phpgw_info']['server']['account_repository'] == "ldap")
|
||||||
(
|
{
|
||||||
|
$data = Array
|
||||||
|
(
|
||||||
'description' => 'email settings',
|
'description' => 'email settings',
|
||||||
'url' => '/index.php',
|
'url' => '/index.php',
|
||||||
'extradata' => 'menuaction=emailadmin.uiuserdata.editUserData'
|
'extradata' => 'menuaction=emailadmin.uiuserdata.editUserData'
|
||||||
@ -118,6 +120,7 @@
|
|||||||
global $menuData;
|
global $menuData;
|
||||||
|
|
||||||
$menuData[] = $data;
|
$menuData[] = $data;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function appendMessage($_folderName, $_header, $_body, $_flags)
|
function appendMessage($_folderName, $_header, $_body, $_flags)
|
||||||
|
Loading…
Reference in New Issue
Block a user