aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-02-07 09:47:40 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-02-17 09:58:51 +0100
commita4f96c18e913f503be4388073f481d3c609865e4 (patch)
treed3daed88de8106135dec31bfd2224a4c80671cc2
parent75ce9a4832425f6a0226815c5d3407108a36d1ba (diff)
downloadnextcloud-server-a4f96c18e913f503be4388073f481d3c609865e4.tar.gz
nextcloud-server-a4f96c18e913f503be4388073f481d3c609865e4.zip
Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--apps/user_ldap/lib/Command/CheckUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Command/CheckUser.php b/apps/user_ldap/lib/Command/CheckUser.php
index d05d341f6d9..c35557f67ed 100644
--- a/apps/user_ldap/lib/Command/CheckUser.php
+++ b/apps/user_ldap/lib/Command/CheckUser.php
@@ -119,7 +119,7 @@ class CheckUser extends Command {
*/
protected function userWasMapped(string $ocName): bool {
$dn = $this->mapping->getDNByName($ocName);
- return ($dn !== false);
+ return $dn !== false;
}
/**