mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def s3_helper
|
||||||
|
Discourse.store.s3_helper
|
||||||
|
end
|
||||||
|
|
||||||
def prepare_for_all_sites
|
def prepare_for_all_sites
|
||||||
inventory = S3Inventory.new(s3_helper, :upload)
|
inventory = S3Inventory.new(s3_helper, :upload)
|
||||||
@db_inventories = inventory.prepare_for_all_sites
|
@db_inventories = inventory.prepare_for_all_sites
|
||||||
|
Loading…
Reference in New Issue
Block a user