From 71ef369120e2ae0c568fdddf474270c4bf657462 Mon Sep 17 00:00:00 2001 From: ak703 Date: Wed, 25 Aug 2004 20:53:39 +0000 Subject: [PATCH] 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. --- felamimail/inc/class.bofelamimail.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/felamimail/inc/class.bofelamimail.inc.php b/felamimail/inc/class.bofelamimail.inc.php index c5725b41bd..9617ef27a9 100644 --- a/felamimail/inc/class.bofelamimail.inc.php +++ b/felamimail/inc/class.bofelamimail.inc.php @@ -107,8 +107,10 @@ function adminMenu() { - $data = Array - ( + if ($GLOBALS['phpgw_info']['server']['account_repository'] == "ldap") + { + $data = Array + ( 'description' => 'email settings', 'url' => '/index.php', 'extradata' => 'menuaction=emailadmin.uiuserdata.editUserData' @@ -118,6 +120,7 @@ global $menuData; $menuData[] = $data; + } } function appendMessage($_folderName, $_header, $_body, $_flags)