From: Marcel Werk Date: Fri, 8 Sep 2023 16:20:00 +0000 (+0200) Subject: Drop support for paid files (WBB4+) X-Git-Tag: 6.0.0_RC_1~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38b7ee8e8e84eaa2a1683574fca55a3daf860eb7;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Drop support for paid files (WBB4+) --- 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'],