]> source.dussan.org Git - nextcloud-server.git/commitdiff
move SQLite notice from warnings to tips & tricks
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 26 Mar 2015 15:53:27 +0000 (16:53 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 26 Mar 2015 15:53:27 +0000 (16:53 +0100)
settings/templates/admin.php

index 7813babf5c54054d1818812f1b6680248b917c74..8adf4b1299d468585534d5eb3144c53e5cc6959c 100644 (file)
@@ -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>