mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Fix the build.
This commit is contained in:
parent
96a0448c52
commit
acde8d4323
@ -1,6 +1,6 @@
|
||||
module Jobs
|
||||
class FixInvalidGravatarUploads < Jobs::Onceoff
|
||||
def execute_onceoff
|
||||
def execute_onceoff(args)
|
||||
Upload.where(original_filename: "gravatar.png").find_each do |upload|
|
||||
extension = FastImage.type(Discourse.store.path_for(upload))
|
||||
current_extension = upload.extension
|
||||
|
Loading…
Reference in New Issue
Block a user