Removed import of unsupported message settings
authorMarcel Werk <burntime@woltlab.com>
Mon, 18 Jul 2016 10:28:44 +0000 (12:28 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 18 Jul 2016 10:28:44 +0000 (12:28 +0200)
files/lib/system/exporter/NodeBB0xRedisExporter.class.php
files/lib/system/exporter/WordPress3xExporter.class.php
files/lib/system/exporter/XF12xExporter.class.php

index bb78cf156af4743bfd751f1ebd32309d73512da7..6577ef2dded03e2bc96c073d5230f9bf055f3b8d 100644 (file)
@@ -521,11 +521,7 @@ class NodeBB0xRedisExporter extends AbstractExporter {
                                'username' => $this->database->hget('user:'.$message['fromuid'], 'username'),
                                'message' => self::convertMarkdown($message['content']),
                                'time' => intval($message['timestamp'] / 1000),
-                               'attachments' => 0,
-                               'enableSmilies' => 1,
-                               'enableHtml' => 0,
-                               'enableBBCodes' => 0,
-                               'showSignature' => 0
+                               'attachments' => 0
                        ]);
                }
        }
index 6d3e49cd260c62ab6a66f2cf9377f3a4e9d3b2d7..ef82f556e8d251d1728af825e38964e3ef6d213f 100644 (file)
@@ -294,9 +294,7 @@ class WordPress3xExporter extends AbstractExporter {
                                'message' => self::fixMessage($row['post_content']),
                                'time' => $time,
                                'comments' => $row['comment_count'],
-                               'enableSmilies' => 0,
                                'enableHtml' => 1,
-                               'enableBBCodes' => 0,
                                'isPublished' => ($row['post_status'] == 'publish' ? 1 : 0),
                                'isDeleted' => ($row['post_status'] == 'trash' ? 1 : 0)
                        ], $additionalData);
index d1fa8fede3df35f9bf002681c3c9b4dfd31d3a7e..657236e2f84af51e6aaa294641d12102647c81dc 100644 (file)
@@ -290,9 +290,6 @@ class XF12xExporter extends AbstractExporter {
                                'banReason' => '',
                                'registrationIpAddress' => $row['ip'] ? UserUtil::convertIPv4To6($row['ip']) : '',
                                'signature' => self::fixBBCodes($row['signature']),
-                               'signatureEnableBBCodes' => 1,
-                               'signatureEnableHtml' => 0,
-                               'signatureEnableSmilies' => 1,
                                'lastActivityTime' => $row['last_activity']
                        ];
                        $options = [
@@ -903,8 +900,6 @@ class XF12xExporter extends AbstractExporter {
                                'editor' => $row['editor'] ?: '',
                                'lastEditTime' => $row['last_edit_date'],
                                'editCount' => $row['editor'] ? $row['edit_count'] : 0,
-                               'enableSmilies' => 1,
-                               'showSignature' => 1,
                                'ipAddress' => $row['ip'] ? UserUtil::convertIPv4To6($row['ip']) : ''
                        ]);
                }