Fix onceoff job in cfa7173da3 not running.

This commit is contained in:
Guo Xiang Tan 2018-10-01 17:14:04 +08:00
parent a3dbe3685e
commit d8fa7fbbab
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
module Jobs
class RecoverUserProfileBackgrounds < Onceoff
class RecoverUserProfileBackgrounds < Jobs::Onceoff
def execute_onceoff(_)
base_url = Discourse.store.absolute_base_url
return if !base_url.match?(/s3\.dualstack/)