Commit 15f0c8f2 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5322 Removed self assignment spotted by sonar

parent 4958323a
......@@ -230,8 +230,6 @@ class LDAP
{
if ($basedn == '') {
$basedn = $this->basedn;
} else {
$basedn = $basedn;
}
return preg_replace("/[^,]*[,]*[ ]*(.*)/", "$1", $basedn);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment