mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 01:39:33 +02:00
#451 PHPStan level 5
This commit is contained in:
parent
a133fc09c5
commit
934da938ec
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ class RenameEntryTask implements ImporterTask {
|
|||
*/
|
||||
public function run() {
|
||||
$ldap = $_SESSION['ldap']->server();
|
||||
$success = @ldap_rename($ldap, $this->dn, $this->newRdn, null, $this->deleteOldRdn);
|
||||
$success = @ldap_rename($ldap, $this->dn, $this->newRdn, '', $this->deleteOldRdn);
|
||||
if ($success) {
|
||||
return Importer::formatMessage('INFO', _('Rename successful!'), htmlspecialchars($this->dn));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue