diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-04 11:07:31 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-05 15:49:34 +0200 |
commit | 6578f00b4bcfbd5bc44bc12e341506f922498d7b (patch) | |
tree | 6ef948934965edb35a6852ca75144848844b7722 /settings/admin.php | |
parent | cf9099c7885453bcf15e40cbed722f432dffa1fb (diff) | |
download | nextcloud-server-6578f00b4bcfbd5bc44bc12e341506f922498d7b.tar.gz nextcloud-server-6578f00b4bcfbd5bc44bc12e341506f922498d7b.zip |
unify share settings
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-x | settings/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php index d2be04fcd1d..dd1c604edb1 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -83,7 +83,7 @@ $tmpl->assign('enforceLinkPassword', \OCP\Util::isPublicLinkPasswordRequired()); $tmpl->assign('allowPublicUpload', OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes')); $tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes')); $tmpl->assign('allowMailNotification', OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'no')); -$tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global')); +$tmpl->assign('onlyShareWithGroupMembers', \OC\Share\Share::shareWithGroupMembersOnly()); $tmpl->assign('forms', array()); foreach($forms as $form) { $tmpl->append('forms', $form); |