Export licenseID, licenseType and licenseText
authorCyperghost <olaf_schmitz_1@t-online.de>
Tue, 2 Jan 2024 15:09:00 +0000 (16:09 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Tue, 2 Jan 2024 15:09:00 +0000 (16:09 +0100)
files/lib/system/exporter/WBB4xExporter.class.php

index ed5f571200845c0c195f68ab6c2713bf2637791a..15332714bcf5402595d3343e682eb78d057adafc 100644 (file)
@@ -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'],