mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:27:38 +08: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…
Reference in New Issue
Block a user