$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
// 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