Drop support for paid files (WBB4+)
authorMarcel Werk <burntime@woltlab.com>
Fri, 8 Sep 2023 16:20:00 +0000 (18:20 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 8 Sep 2023 16:20:00 +0000 (18:20 +0200)
files/lib/system/exporter/WBB4xExporter.class.php

index fe66f112f5d1a1df4e93d53e24d4788fc0a662f1..d86c509852a8347bd8b502be0a9e30b1418f4424 100644 (file)
@@ -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'],