Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes #12.

  • Loading branch information...
commit 5e99b04e43345aad30db3a99f92e6e6857bb7849 1 parent 9eb4648
@tburry tburry authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  class.vanilla1.php
View
3  class.vanilla1.php
@@ -15,7 +15,7 @@ class Vanilla1 extends ExportController {
'Role'=> array('RoleID', 'Name', 'Description'),
'Category'=> array('CategoryID', 'Name', 'Description'),
'Discussion'=> array('DiscussionID', 'Name', 'CategoryID', 'DateCreated', 'AuthUserID', 'DateLastActive', 'Closed', 'Sticky', 'CountComments', 'Sink', 'LastUserID'),
- 'Comment'=> array('CommentID', 'DiscussionID', 'AuthUserID', 'DateCreated', 'EditUserID', 'DateEdited', 'Body')
+ 'Comment'=> array('CommentID', 'DiscussionID', 'AuthUserID', 'DateCreated', 'EditUserID', 'DateEdited', 'Body', 'Deleted')
);
/**
@@ -190,6 +190,7 @@ protected function ForumExport($Ex) {
JOIN :_Discussion d
ON c.DiscussionID = d.DiscussionID
WHERE d.FirstCommentID <> c.CommentID
+ AND c.Deleted = '0'
AND coalesce(d.WhisperUserID, 0) = 0
AND coalesce(c.WhisperUserID, 0) = 0", $Comment_Map);
Please sign in to comment.
Something went wrong with that request. Please try again.