summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib/Settings/SettingsManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sharebymail/lib/Settings/SettingsManager.php')
-rw-r--r--apps/sharebymail/lib/Settings/SettingsManager.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/sharebymail/lib/Settings/SettingsManager.php b/apps/sharebymail/lib/Settings/SettingsManager.php
index 4eb958bf955..8d9e7e92514 100644
--- a/apps/sharebymail/lib/Settings/SettingsManager.php
+++ b/apps/sharebymail/lib/Settings/SettingsManager.php
@@ -36,8 +36,6 @@ class SettingsManager {
private $sendPasswordByMailDefault = 'yes';
- private $enforcePasswordProtectionDefault = 'no';
-
private $replyToInitiatorDefault = 'yes';
public function __construct(IConfig $config) {
@@ -55,16 +53,6 @@ class SettingsManager {
}
/**
- * do we require a share by mail to be password protected
- *
- * @return bool
- */
- public function enforcePasswordProtection(): bool {
- $enforcePassword = $this->config->getAppValue('sharebymail', 'enforcePasswordProtection', $this->enforcePasswordProtectionDefault);
- return $enforcePassword === 'yes';
- }
-
- /**
* should add reply to with initiator mail
*
* @return bool