aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2019-01-29 19:42:12 +0100
committerMichael Weimann <mail@michael-weimann.eu>2019-01-29 19:42:12 +0100
commit6c5282138979a7d56feeb5d38462761f1102f1d1 (patch)
tree625a7eb8fabadef393a09582e9530575d35b4d37 /settings/templates
parentb8d25a1247c7b602976cf3bca2dfb7a2aac5bb81 (diff)
downloadnextcloud-server-6c5282138979a7d56feeb5d38462761f1102f1d1.tar.gz
nextcloud-server-6c5282138979a7d56feeb5d38462761f1102f1d1.zip
Make the where is your data section optional
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/settings/personal/personal.info.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php
index 5743777b4b9..a6e3eaf345b 100644
--- a/settings/templates/settings/personal/personal.info.php
+++ b/settings/templates/settings/personal/personal.info.php
@@ -95,7 +95,11 @@ script('settings', [
<progress value="<?php p($_['usage_relative']); ?>" max="100"<?php if($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress>
</div>
</div>
- <?php include __DIR__ . '/partials/where-is-your-data.php' ?>
+ <?php
+ if ($_['show_where_is_your_data_section']) {
+ include __DIR__ . '/partials/where-is-your-data.php';
+ }
+ ?>
</div>
<div class="personal-settings-container">