From 45ad27edf1df1f45194969a09e51a4dff8430cee Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 14 Mar 2011 10:29:52 -0400
Subject: [PATCH] Fixed: FS#1530 - 'already a database with this name on the server' error if db exists on other server

---
 interface/web/mail/lib/module.conf.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/interface/web/mail/lib/module.conf.php b/interface/web/mail/lib/module.conf.php
index c69fe41..fc81b1a 100644
--- a/interface/web/mail/lib/module.conf.php
+++ b/interface/web/mail/lib/module.conf.php
@@ -8,6 +8,9 @@
 $module['startpage'] 	= 'mail/mail_domain_list.php';
 $module['tab_width']    = '';
 
+$app->uses('getconf');
+$mail_config = $app->getconf->get_server_config(1,'mail');
+
 
 //**** Email accounts menu
 $items = array();
@@ -134,13 +137,10 @@
 
 //**** Statistics menu
 $items = array();
-
 $items[] = array( 'title' 	=> 'Mailbox traffic',
 				  'target' 	=> 'content',
 				  'link'	=> 'mail/mail_user_stats.php',
 				  'html_id' => 'mail_user_stats');
-
-
 
 $module['nav'][] = array(	'title'	=> 'Statistics',
 							'open' 	=> 1,

--
Gitblit v1.9.1