v0.4 Go back to simpler use of MySQL2
This commit is contained in:
parent
8ab138242a
commit
393cea00c2
@ -62,7 +62,7 @@ class GossamerForumsDestroyDeletedPosts < ImportScripts::Base
|
|||||||
post_id = legacy_post['post_id']
|
post_id = legacy_post['post_id']
|
||||||
|
|
||||||
# Look for the post in Discourse by custom field
|
# Look for the post in Discourse by custom field
|
||||||
post = find_post_by_custom_field(legacy_post.post_id)
|
post = find_post_by_custom_field(post_id)
|
||||||
|
|
||||||
if post
|
if post
|
||||||
puts "DestroyDeletedPosts: Mock-Deleting post with id: #{post.id}"
|
puts "DestroyDeletedPosts: Mock-Deleting post with id: #{post.id}"
|
||||||
|
Loading…
Reference in New Issue
Block a user