diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-25 16:49:40 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-25 16:49:40 +0200 |
commit | 5cf3170e89ddb9884e2a61c4a015d130fb294cad (patch) | |
tree | 5d8bd873226cb2ef07a006cb5011cb900611034e /apps/files_sharing/templates | |
parent | fcde0234b7ed786f2a2440cb814d455b33611f0d (diff) | |
download | nextcloud-server-5cf3170e89ddb9884e2a61c4a015d130fb294cad.tar.gz nextcloud-server-5cf3170e89ddb9884e2a61c4a015d130fb294cad.zip |
don't load gs-share
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/settings-personal.php | 6 |
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']): ?> |