From 9e0b30b0949866f2d9de0cf331c68a4a5bd791e2 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Thu, 21 Dec 2023 10:48:01 +0100 Subject: [PATCH] Remove `$destVersion52` --- files/lib/system/exporter/WBB4xExporter.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/lib/system/exporter/WBB4xExporter.class.php b/files/lib/system/exporter/WBB4xExporter.class.php index 7012080..454b0f6 100644 --- a/files/lib/system/exporter/WBB4xExporter.class.php +++ b/files/lib/system/exporter/WBB4xExporter.class.php @@ -2170,7 +2170,7 @@ final class WBB4xExporter extends AbstractExporter $conditionBuilder = new PreparedStatementConditionBuilder(); $conditionBuilder->add('entry.entryID IN (?)', [$entryIDs]); - if ($sourceVersion52 && $destVersion52) { + if ($sourceVersion52) { $sql = "SELECT entry.*, language.languageCode, coverPhoto.fileExtension, coverPhoto.fileHash FROM blog" . $this->dbNo . "_entry entry LEFT JOIN wcf" . $this->dbNo . "_language language @@ -2743,7 +2743,7 @@ final class WBB4xExporter extends AbstractExporter // get event $conditionBuilder = new PreparedStatementConditionBuilder(); $conditionBuilder->add('event.eventID IN (?)', [$eventIDs]); - if ($sourceVersion52 && $destVersion52) { + if ($sourceVersion52) { $sql = "SELECT event.*, language.languageCode, coverPhoto.fileExtension, coverPhoto.fileHash FROM calendar" . $this->dbNo . "_event event LEFT JOIN wcf" . $this->dbNo . "_language language -- 2.20.1