Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-01-17 14:00:02 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-01-17 14:00:02 +0300
commitd6b0ff4163dfd53783c822abd7cc63ca266094b5 (patch)
tree106aa9a68cc06d56a533f6d8d1ca902cb6c7adc6 /apps
parent02e78231f9a736f1ab92a24befe6bd39bdcb4f4b (diff)
Functions executeQuery and executeStatement do not exists in 20
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/Migration/GroupMappingMigration.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Migration/GroupMappingMigration.php b/apps/user_ldap/lib/Migration/GroupMappingMigration.php
index f89bebe57d6..82ba8813a41 100644
--- a/apps/user_ldap/lib/Migration/GroupMappingMigration.php
+++ b/apps/user_ldap/lib/Migration/GroupMappingMigration.php
@@ -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();
}