DEV: Remove redundant case in import script ()

This commit is contained in:
Penar Musaraj 2023-07-31 14:52:06 -04:00 committed by GitHub
parent 7ecaf6295d
commit 26a8e7da28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -994,11 +994,7 @@ SQL
end end
if l["href"] if l["href"]
if permalink && permalink.target_url l["href"] = permalink.target_url if permalink && permalink.target_url
l["href"] = permalink.target_url
elsif l["href"] =~ %r{^/gartner/attachments/gartner/([^.]*).(\w*)}
linked_upload = "#{$1}.#{$2}"
end
end end
elsif l["src"] elsif l["src"]
# we need an upload here # we need an upload here