FIX: Define s3_helper in EnsureS3UploadsExistence job

Followup to 16c65a94
This commit is contained in:
David Taylor 2020-07-29 12:23:04 +01:00
parent 16c65a94f7
commit 4ef389bc04
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434

View File

@ -13,6 +13,10 @@ module Jobs
end
end
def s3_helper
Discourse.store.s3_helper
end
def prepare_for_all_sites
inventory = S3Inventory.new(s3_helper, :upload)
@db_inventories = inventory.prepare_for_all_sites