mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
Merge pull request #4959 from farmdawgnation/minor-mbox-import-fix
Add a nil check on the connection before attempting to exec it
This commit is contained in:
commit
d38b55e0c8
@ -203,7 +203,7 @@ class ImportScripts::Base
|
||||
return true
|
||||
end
|
||||
ensure
|
||||
connection.exec('DROP TABLE import_ids')
|
||||
connection.exec('DROP TABLE import_ids') unless connection.nil?
|
||||
end
|
||||
|
||||
def created_user(user)
|
||||
|
Loading…
Reference in New Issue
Block a user