Permalink
Browse files

Fixes #12.

  • Loading branch information...
1 parent 9eb4648 commit 5e99b04e43345aad30db3a99f92e6e6857bb7849 @tburry tburry committed Jan 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 class.vanilla1.php
View
@@ -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);

0 comments on commit 5e99b04

Please sign in to comment.