summaryrefslogtreecommitdiffstats
path: root/lib/Migration/Version150004Date20201009183830.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Migration/Version150004Date20201009183830.php')
-rw-r--r--lib/Migration/Version150004Date20201009183830.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/Version150004Date20201009183830.php b/lib/Migration/Version150004Date20201009183830.php
index 635d8d592..b587d8ad9 100644
--- a/lib/Migration/Version150004Date20201009183830.php
+++ b/lib/Migration/Version150004Date20201009183830.php
@@ -72,7 +72,7 @@ class Version150004Date20201009183830 extends SimpleMigrationStep {
$item_name = $this->connection->getQueryBuilder()->getTableName('news_items');
$feed_name = $this->connection->getQueryBuilder()->getTableName('news_feeds');
- $items_query = "DELETE FROM ${item_name} WHERE ${item_name}.`feed_id` NOT IN (SELECT DISTINCT id FROM ${feed_name})";
+ $items_query = "DELETE FROM {$item_name} WHERE {$item_name}.`feed_id` NOT IN (SELECT DISTINCT id FROM {$feed_name})";
$this->connection->executeQuery($items_query);
}
}