Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use existing API
Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan committed Jan 31, 2022
commit 7240843289b6d84264d60abb9fc956d10184d8e4
4 changes: 2 additions & 2 deletions apps/user_ldap/lib/Migration/GroupMappingMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function copyGroupMappingData(string $sourceTable, string $destination
->from($sourceTable);


$result = $query->executeQuery();
$result = $query->execute();
while ($row = $result->fetch()) {
$insert
->setParameter('ldap_dn', $row['ldap_dn'])
Expand All @@ -62,7 +62,7 @@ protected function copyGroupMappingData(string $sourceTable, string $destination
->setParameter('ldap_dn_hash', $row['ldap_dn_hash'])
;

$insert->executeStatement();
$insert->execute();
}
$result->closeCursor();
}
Expand Down