summaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Encryption/Util.php')
-rw-r--r--lib/private/Encryption/Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Encryption/Util.php b/lib/private/Encryption/Util.php
index 047ef1626df..fc0adbbd47b 100644
--- a/lib/private/Encryption/Util.php
+++ b/lib/private/Encryption/Util.php
@@ -384,7 +384,7 @@ class Util {
public function recoveryEnabled($uid) {
$enabled = $this->config->getUserValue($uid, 'encryption', 'recovery_enabled', '0');
- return ($enabled === '1') ? true : false;
+ return $enabled === '1';
}
/**