mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00:00
FIX: Define s3_helper in EnsureS3UploadsExistence job
Followup to 16c65a94
This commit is contained in:
parent
16c65a94f7
commit
4ef389bc04
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user