mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 03:05:57 +08:00
Fix onceoff job in cfa7173da3
not running.
This commit is contained in:
parent
cf60ae32ea
commit
05fe5c9188
|
@ -1,5 +1,5 @@
|
||||||
module Jobs
|
module Jobs
|
||||||
class RecoverUserProfileBackgrounds < Onceoff
|
class RecoverUserProfileBackgrounds < Jobs::Onceoff
|
||||||
def execute_onceoff(_)
|
def execute_onceoff(_)
|
||||||
base_url = Discourse.store.absolute_base_url
|
base_url = Discourse.store.absolute_base_url
|
||||||
return if !base_url.match?(/s3\.dualstack/)
|
return if !base_url.match?(/s3\.dualstack/)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user