mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 02:31:33 -04:00
Functions executeQuery and executeStatement do not exists in 20
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
02e78231f9
commit
d6b0ff4163
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ abstract class GroupMappingMigration extends SimpleMigrationStep {
|
|||
->from($sourceTable);
|
||||
|
||||
|
||||
$result = $query->executeQuery();
|
||||
$result = $query->execute();
|
||||
while ($row = $result->fetch()) {
|
||||
$insert
|
||||
->setParameter('ldap_dn', $row['ldap_dn'])
|
||||
|
|
@ -62,7 +62,7 @@ abstract class GroupMappingMigration extends SimpleMigrationStep {
|
|||
->setParameter('ldap_dn_hash', $row['ldap_dn_hash'])
|
||||
;
|
||||
|
||||
$insert->executeStatement();
|
||||
$insert->execute();
|
||||
}
|
||||
$result->closeCursor();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue