Fix onceoff job in cfa7173da3
not running.
This commit is contained in:
parent
a3dbe3685e
commit
d8fa7fbbab
|
@ -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