[Pkg-owncloud-commits] [owncloud] 63/79: don't load gs-share

David Prévot taffit at moszumanska.debian.org
Tue Sep 1 20:55:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 7d436579cbd2798bfa763bcac6b7ee86876e9ab8
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Aug 25 16:49:40 2015 +0200

    don't load gs-share
---
 apps/files_sharing/templates/settings-personal.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php
index 6221de4..ae6b909 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']): ?>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list