summaryrefslogtreecommitdiffstats
path: root/core/js/shareconfigmodel.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/shareconfigmodel.js')
-rw-r--r--core/js/shareconfigmodel.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/js/shareconfigmodel.js b/core/js/shareconfigmodel.js
index 472fdcc75d7..98280e01eb6 100644
--- a/core/js/shareconfigmodel.js
+++ b/core/js/shareconfigmodel.js
@@ -20,6 +20,7 @@
enforcePasswordForPublicLink: oc_appconfig.core.enforcePasswordForPublicLink,
isDefaultExpireDateEnforced: oc_appconfig.core.defaultExpireDateEnforced === true,
defaultExpireDate: oc_appconfig.core.defaultExpireDate,
+ isResharingAllowed: oc_appconfig.core.resharingAllowed
},
/**
@@ -54,13 +55,6 @@
/**
* @returns {boolean}
*/
- isResharingAllowed: function() {
- return oc_appconfig.core.resharingAllowed
- },
-
- /**
- * @returns {boolean}
- */
isShareWithLinkAllowed: function() {
return $('#allowShareWithLink').val() === 'yes';
},