Replace query by executeQuery

This commit is contained in:
Yassine Guedidi
2025-04-01 23:36:56 +02:00
parent 1127b147c0
commit 069c09d8d9
3 changed files with 8 additions and 8 deletions

View File

@ -20,7 +20,7 @@ class Version20170719231144 extends WallabagMigration
}
// Find tags which need to be merged
$dupTags = $this->connection->query('
$dupTags = $this->connection->executeQuery('
SELECT LOWER(label) AS lower_label
FROM ' . $this->getTable('tag') . '
GROUP BY LOWER(label)
@ -31,7 +31,7 @@ class Version20170719231144 extends WallabagMigration
$label = $duplicates['lower_label'];
// Retrieve all duplicate tags for a given tag
$tags = $this->connection->query('
$tags = $this->connection->executeQuery('
SELECT id
FROM ' . $this->getTable('tag') . '
WHERE LOWER(label) = :label