From 38b7ee8e8e84eaa2a1683574fca55a3daf860eb7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 8 Sep 2023 18:20:00 +0200 Subject: [PATCH] Drop support for paid files (WBB4+) --- files/lib/system/exporter/WBB4xExporter.class.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/files/lib/system/exporter/WBB4xExporter.class.php b/files/lib/system/exporter/WBB4xExporter.class.php index fe66f11..d86c509 100644 --- a/files/lib/system/exporter/WBB4xExporter.class.php +++ b/files/lib/system/exporter/WBB4xExporter.class.php @@ -257,8 +257,7 @@ final class WBB4xExporter extends AbstractExporter if (\in_array($item, $this->selectedData)) { if ( empty($this->fileSystemPath) - || ( - !@\file_exists($this->fileSystemPath . 'lib/core.functions.php') + || (!@\file_exists($this->fileSystemPath . 'lib/core.functions.php') && !@\file_exists($this->fileSystemPath . 'wcf/lib/core.functions.php') ) ) { @@ -3106,12 +3105,6 @@ final class WBB4xExporter extends AbstractExporter 'isDeleted' => $row['isDeleted'], 'ipAddress' => $row['ipAddress'], 'deleteTime' => $row['deleteTime'], - 'isCommercial' => $row['isCommercial'], - 'isPurchasable' => $row['isPurchasable'], - 'price' => $row['price'], - 'currency' => $row['currency'], - 'totalRevenue' => ($row['totalRevenue'] ?? 0), - 'purchases' => $row['purchases'], 'licenseName' => ($row['licenseName'] ?? ''), 'licenseURL' => ($row['licenseURL'] ?? ''), 'downloads' => $row['downloads'], -- 2.20.1