uploads: remove "this post was probably already uploaded" dupe check.
Also makes it so that using the bookmarklet always triggers async upload preprocessing. Before it was only triggered when the source passed a dupe check, but that check was inaccurate (#3873).
This commit is contained in:
@@ -5,7 +5,7 @@ class UploadsController < ApplicationController
|
||||
|
||||
def new
|
||||
@upload_notice_wiki = WikiPage.titled(Danbooru.config.upload_notice_wiki_page).first
|
||||
@upload, @post, @source, @remote_size = UploadService::ControllerHelper.prepare(
|
||||
@upload, @remote_size = UploadService::ControllerHelper.prepare(
|
||||
url: params[:url], ref: params[:ref]
|
||||
)
|
||||
respond_with(@upload)
|
||||
@@ -43,7 +43,7 @@ class UploadsController < ApplicationController
|
||||
end
|
||||
|
||||
def preprocess
|
||||
@upload, @post, @source, @remote_size = UploadService::ControllerHelper.prepare(
|
||||
@upload, @remote_size = UploadService::ControllerHelper.prepare(
|
||||
url: upload_params[:source], file: upload_params[:file], ref: upload_params[:referer_url]
|
||||
)
|
||||
render body: nil
|
||||
|
||||
Reference in New Issue
Block a user