From e7516a1fbb178e06a898c6a8352b73b5b956f5b7 Mon Sep 17 00:00:00 2001
From: Carsten Schoene <ispconfig-dev@j0ke.net>
Date: Fri, 27 Dec 2013 17:02:38 -0500
Subject: [PATCH] Only configure amavis when it's really installed. configure_amavis() adds some extra lines to postfix's main.cf & master.cf which are not required and are leading to malfunction when amavis is not installed.

---
 interface/web/tools/lib/menu.d/resync.menu.php |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/interface/web/tools/lib/menu.d/resync.menu.php b/interface/web/tools/lib/menu.d/resync.menu.php
index 3ef45fb..5de2f77 100644
--- a/interface/web/tools/lib/menu.d/resync.menu.php
+++ b/interface/web/tools/lib/menu.d/resync.menu.php
@@ -5,18 +5,18 @@
 
 if($app->auth->is_admin()) {
 
-$items = array();
+	$items = array();
 
-$items[] = array( 'title' 	=> 'Resync',
-				  'target' 	=> 'content',
-				  'link'	=> 'tools/resync.php');
+	$items[] = array( 'title'  => 'Resync',
+		'target'  => 'content',
+		'link' => 'tools/resync.php');
 
 
-$module['nav'][] = array(	'title'	=> 'Sync Tools',
-							'open' 	=> 1,
-							'items'	=> $items);
+	$module['nav'][] = array( 'title' => 'Sync Tools',
+		'open'  => 1,
+		'items' => $items);
 
-unset($items);
+	unset($items);
 }
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1