Remove import of `postSortOrder`
authorMarcel Werk <burntime@woltlab.com>
Fri, 18 Aug 2023 11:49:00 +0000 (13:49 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 18 Aug 2023 11:49:00 +0000 (13:49 +0200)
files/lib/system/exporter/WBB3xExporter.class.php
files/lib/system/exporter/WBB4xExporter.class.php

index c97e4360b3202092b034556ec92b6cb47486fa97..8c9dd64b23599b94f9a1cc072281ad271fb70de6 100644 (file)
@@ -216,8 +216,7 @@ final class WBB3xExporter extends AbstractExporter
         ) {
             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')
                 )
             ) {
@@ -1259,7 +1258,6 @@ final class WBB3xExporter extends AbstractExporter
                 'ignorable' => !empty($board['ignorable']) ? $board['ignorable'] : 0,
                 'isClosed' => $board['isClosed'],
                 'isInvisible' => $board['isInvisible'],
-                'postSortOrder' => !empty($board['postSortOrder']) ? $board['postSortOrder'] : '',
                 'postsPerPage' => !empty($board['postsPerPage']) ? $board['postsPerPage'] : 0,
                 'searchable' => isset($board['searchable']) ? \intval($board['searchable']) : 1, // wbb3.1
                 'searchableForSimilarThreads' => isset($board['searchableForSimilarThreads']) ? \intval($board['searchableForSimilarThreads']) : 1, // wbb3.1
index 6b4e09d1c29312605fc98047575e446fce6ae6fb..595895e7580f0c6bff86f0952b0815e5139fc7f6 100644 (file)
@@ -1245,7 +1245,6 @@ final class WBB4xExporter extends AbstractExporter
                 'isClosed' => $board['isClosed'],
                 'isInvisible' => $board['isInvisible'],
                 'isPrivate' => $board['isPrivate'] ?? 0,
-                'postSortOrder' => $board['postSortOrder'],
                 'postsPerPage' => $board['postsPerPage'],
                 'searchable' => $board['searchable'],
                 'searchableForSimilarThreads' => $board['searchableForSimilarThreads'],