From 32dcc8752f280299f0e364ccebcc092db8f2cb4e Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 05 Apr 2016 12:17:42 -0400
Subject: [PATCH] Changed autodetect messages from WARN to INFO in non forced mode.
---
interface/web/tools/lib/menu.d/resync.menu.php | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 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..65a331f 100644
--- a/interface/web/tools/lib/menu.d/resync.menu.php
+++ b/interface/web/tools/lib/menu.d/resync.menu.php
@@ -5,18 +5,17 @@
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