From 82fc754d3f8bbce98b38e23cb8775e89d8b203c5 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Thu, 26 Mar 2015 16:53:27 +0100
Subject: [PATCH] move SQLite notice from warnings to tips & tricks

---
 settings/templates/admin.php | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 7813babf5c..8adf4b1299 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -86,17 +86,6 @@ if (!$_['isAnnotationsWorking']) {
 <?php
 }
 
-// SQLite database performance issue
-if ($_['databaseOverload']) {
-	?>
-	<li>
-		<?php p($l->t('SQLite is used as database. For larger installations we recommend to switch to a different database backend.')); ?><br>
-		<?php p($l->t('Especially when using the desktop client for file syncing the use of SQLite is discouraged.')); ?><br>
-		<?php print_unescaped($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\', or see the <a target="_blank" href="%s">documentation ↗</a>.', link_to_docs('admin-db-conversion') )); ?>
-	</li>
-<?php
-}
-
 // Windows Warning
 if ($_['WindowsWarning']) {
 	?>
@@ -440,6 +429,16 @@ if ($_['cronErrors']) {
 <div class="section" id="admin-tips">
 	<h2><?php p($l->t('Tips & tricks'));?></h2>
 	<ul>
+		<?php
+		// SQLite database performance issue
+		if ($_['databaseOverload']) {
+			?>
+			<li>
+				<?php p($l->t('SQLite is used as database. For larger installations we recommend to switch to a different database backend.')); ?><br>
+				<?php p($l->t('Especially when using the desktop client for file syncing the use of SQLite is discouraged.')); ?><br>
+				<?php print_unescaped($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\', or see the <a target="_blank" href="%s">documentation ↗</a>.', link_to_docs('admin-db-conversion') )); ?>
+			</li>
+		<?php } ?>
 		<li><a target="_blank" href="<?php p(link_to_docs('admin-backup')); ?>"><?php p($l->t('How to do backups'));?> ↗</a></li>
 		<li><a target="_blank" href="<?php p(link_to_docs('admin-monitoring')); ?>"><?php p($l->t('Advanced monitoring'));?> ↗</a></li>
 		<li><a target="_blank" href="<?php p(link_to_docs('admin-performance')); ?>"><?php p($l->t('Performance tuning'));?> ↗</a></li>
-- 
GitLab