From: Cyperghost Date: Tue, 2 Jan 2024 15:09:00 +0000 (+0100) Subject: Export licenseID, licenseType and licenseText X-Git-Tag: 6.0.7~1^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17134aac1309a228fec435921dcd0a54cd7febd2;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Export licenseID, licenseType and licenseText --- diff --git a/files/lib/system/exporter/WBB4xExporter.class.php b/files/lib/system/exporter/WBB4xExporter.class.php index ed5f571..1533271 100644 --- a/files/lib/system/exporter/WBB4xExporter.class.php +++ b/files/lib/system/exporter/WBB4xExporter.class.php @@ -101,8 +101,8 @@ final class WBB4xExporter extends AbstractExporter 'com.woltlab.calendar.event.like' => 'CalendarEventLikes', 'com.woltlab.filebase.category' => 'FilebaseCategories', - 'com.woltlab.filebase.file' => 'FilebaseFiles', 'com.woltlab.filebase.license' => 'FilebaseLicenses', + 'com.woltlab.filebase.file' => 'FilebaseFiles', 'com.woltlab.filebase.file.version' => 'FilebaseFileVersions', 'com.woltlab.filebase.file.comment' => 'FilebaseFileComments', 'com.woltlab.filebase.file.comment.response' => 'FilebaseFileCommentResponses', @@ -3274,8 +3274,11 @@ final class WBB4xExporter extends AbstractExporter 'isDeleted' => $row['isDeleted'], 'ipAddress' => $row['ipAddress'], 'deleteTime' => $row['deleteTime'], + 'licenseID' => $row['licenseID'] ?? null, 'licenseName' => ($row['licenseName'] ?? ''), + 'licenseType' => ($row['licenseType'] ?? 'predefined'), 'licenseURL' => ($row['licenseURL'] ?? ''), + 'licenseText' => ($row['licenseText'] ?? ''), 'downloads' => $row['downloads'], 'isFeatured' => $row['isFeatured'], 'lastChangeTime' => $row['lastChangeTime'],