From 17134aac1309a228fec435921dcd0a54cd7febd2 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Tue, 2 Jan 2024 16:09:00 +0100 Subject: [PATCH] Export licenseID, licenseType and licenseText --- files/lib/system/exporter/WBB4xExporter.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'], -- 2.20.1