Skip to content

Commit

Permalink
Migrate all announcements and stickies as category only announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
JReko committed Mar 17, 2017
1 parent 74063fe commit 70ab559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/phpbb3.php
Expand Up @@ -255,7 +255,7 @@ protected function forumExport($ex) {
select t.*,
'BBCode' as Format,
case t.topic_status when 1 then 1 else 0 end as Closed,
case t.topic_type when 1 then 1 when 2 then 2 else 0 end as Announce,
case t.topic_type when 1 then 2 when 2 then 2 else 0 end as Announce,
case when t.poll_start > 0 then 'poll' else null end as type,
FROM_UNIXTIME(t.topic_time) as DateInserted,
FROM_UNIXTIME(t.topic_last_post_time) as DateUpdated,
Expand Down

0 comments on commit 70ab559

Please sign in to comment.