Skip to content

Commit

Permalink
Export licenseID, licenseType and licenseText
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Jan 2, 2024
1 parent 03fa4fc commit 17134aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/lib/system/exporter/WBB4xExporter.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -3274,8 +3274,11 @@ protected function exportFilebaseFilesHelper(array $row, array $contents = [], a
'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'],
Expand Down

0 comments on commit 17134aa

Please sign in to comment.