Remove unused automod code.
The DynamoDB update job was disabled a few months ago. Remove it completely.
This commit is contained in:
@@ -91,10 +91,6 @@ class UploadService
|
||||
|
||||
upload.update(status: "completed", post_id: @post.id)
|
||||
|
||||
if @post.is_pending? && Automod::UpdateDynamoDbJob.enabled?
|
||||
#Delayed::Job.enqueue(Automod::UpdateDynamoDbJob.new(@post.id), run_at: 84.hours.from_now, queue: "default")
|
||||
end
|
||||
|
||||
@post
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user