diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-21 19:47:10 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-22 17:13:34 +0100 |
commit | cf3e740ae8ac74a4f37b6701e4a9b2288be34404 (patch) | |
tree | 9720b5613e64ca0f1a63bacd5e54b12d3168a038 /core/js/config.php | |
parent | 6719f8ca60e10b0f1064935ecccf708383532a89 (diff) | |
download | nextcloud-server-cf3e740ae8ac74a4f37b6701e4a9b2288be34404.tar.gz nextcloud-server-cf3e740ae8ac74a4f37b6701e4a9b2288be34404.zip |
Fix js strings if group sharing is disabled
Diffstat (limited to 'core/js/config.php')
-rw-r--r-- | core/js/config.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php index 1f0c756596d..7f2d0517460 100644 --- a/core/js/config.php +++ b/core/js/config.php @@ -162,7 +162,8 @@ $array = array( 'sharingDisabledForUser' => \OCP\Util::isSharingDisabledForUser(), 'resharingAllowed' => \OCP\Share::isResharingAllowed(), 'remoteShareAllowed' => $outgoingServer2serverShareEnabled, - 'federatedCloudShareDoc' => \OC::$server->getURLGenerator()->linkToDocs('user-sharing-federated') + 'federatedCloudShareDoc' => \OC::$server->getURLGenerator()->linkToDocs('user-sharing-federated'), + 'allowGroupSharing' => \OC::$server->getShareManager()->allowGroupSharing() ) ) ), |