diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-09-27 10:43:42 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-09-27 10:43:42 +0200 |
commit | 6b90ab19530a72e88b6facc10078245a2ea2d0d8 (patch) | |
tree | a27236e6af3bf7adb58a039c5c5acf3b31591f8b /lib/private/Repair | |
parent | f134244c90ab4aff3fa7758f8c548ebd89c6a256 (diff) | |
download | nextcloud-server-6b90ab19530a72e88b6facc10078245a2ea2d0d8.tar.gz nextcloud-server-6b90ab19530a72e88b6facc10078245a2ea2d0d8.zip |
refactor: Use DBAL's executeQuery instead of query (deprecated)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Repair')
-rw-r--r-- | lib/private/Repair/SqliteAutoincrement.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/SqliteAutoincrement.php b/lib/private/Repair/SqliteAutoincrement.php index 4a8b2a45d3f..1199370f221 100644 --- a/lib/private/Repair/SqliteAutoincrement.php +++ b/lib/private/Repair/SqliteAutoincrement.php @@ -93,7 +93,7 @@ class SqliteAutoincrement implements IRepairStep { $this->connection->beginTransaction(); foreach ($schemaDiff->toSql($this->connection->getDatabasePlatform()) as $sql) { - $this->connection->query($sql); + $this->connection->executeQuery($sql); } $this->connection->commit(); } |