Commit 6f92dd1c authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5178 Migrating gotoMode into fdMode

parent c930dde6
......@@ -1412,6 +1412,10 @@ sub migrate_systems {
}
}
$entry->replace("objectClass" => \@replace);
if ($entry->exists('gotoMode')) {
$entry->add('fdMode' => $entry->get_value('gotoMode'));
$entry->delete('gotoMode');
}
$mesg = $ldap->add($entry);
if ($mesg->code) {
print $entry->dn().": ".$mesg->error."\n";
......
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