summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Connection.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-22 16:57:24 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-11-22 16:57:24 +0100
commit90165309e1c0cf0be2f56aa3b4a438266801ba98 (patch)
tree8dc2ea77149b8357e9807a03910c750a5304fd6d /apps/user_ldap/lib/Connection.php
parent4893501abe3be254a4a3b6c4ced9ca0058071413 (diff)
downloadnextcloud-server-90165309e1c0cf0be2f56aa3b4a438266801ba98.tar.gz
nextcloud-server-90165309e1c0cf0be2f56aa3b4a438266801ba98.zip
Improve a bit codestyle
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/Connection.php')
-rw-r--r--apps/user_ldap/lib/Connection.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php
index 0d30a5c608e..82d0374c759 100644
--- a/apps/user_ldap/lib/Connection.php
+++ b/apps/user_ldap/lib/Connection.php
@@ -407,9 +407,8 @@ class Connection extends LDAPUtility {
} else {
$uuidAttributes = Access::UUID_ATTRIBUTES;
array_unshift($uuidAttributes, 'auto');
- if (!in_array($this->configuration->$effectiveSetting,
- $uuidAttributes)
- && (!is_null($this->configID))) {
+ if (!in_array($this->configuration->$effectiveSetting, $uuidAttributes)
+ && !is_null($this->configID)) {
$this->configuration->$effectiveSetting = 'auto';
$this->configuration->saveConfiguration();
$this->logger->info(