<?php
namespace wcf\system\importer;
-use wcf\data\conversation\message\ConversationMessageEditor;
use wcf\data\conversation\message\ConversationMessage;
+use wcf\data\conversation\message\ConversationMessageEditor;
use wcf\data\object\type\ObjectTypeCache;
use wcf\util\StringUtil;
$data['conversationID'] = ImportHandler::getInstance()->getNewID('com.woltlab.wcf.conversation', $data['conversationID']);
if (!$data['conversationID']) return 0;
$data['userID'] = ImportHandler::getInstance()->getNewID('com.woltlab.wcf.user', $data['userID']);
-
+
// check existing message
$existingMessage = new ConversationMessage($oldID);
if (!$existingMessage->messageID) $data['messageID'] = $oldID;