diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 12:36:25 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 12:36:25 +0100 |
commit | 6bbea33133867c0fc7dc0ab1df74a38c30843141 (patch) | |
tree | 035b6310da06ca747733c36b5c09d0c97b886e22 /lib/private/Encryption | |
parent | 26682b6936dcc127393655754500a1848d28c7d0 (diff) | |
download | nextcloud-server-6bbea33133867c0fc7dc0ab1df74a38c30843141.tar.gz nextcloud-server-6bbea33133867c0fc7dc0ab1df74a38c30843141.zip |
Simplify ternary operator statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Encryption')
-rw-r--r-- | lib/private/Encryption/Util.php | 2 |
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'; } /** |