summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/templates/settings-personal.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php
index 6221de405d8..ae6b909df7e 100644
--- a/apps/files_sharing/templates/settings-personal.php
+++ b/apps/files_sharing/templates/settings-personal.php
@@ -3,8 +3,10 @@
/** @var array $_ */
script('files_sharing', 'settings-personal');
style('files_sharing', 'settings-personal');
-script('files_sharing', '3rdparty/gs-share/gs-share');
-style('files_sharing', '3rdparty/gs-share/style');
+if ($_['showShareIT']) {
+ script('files_sharing', '3rdparty/gs-share/gs-share');
+ style('files_sharing', '3rdparty/gs-share/style');
+}
?>
<?php if ($_['outgoingServer2serverShareEnabled']): ?>