Commit 43ee65e1 authored by James Lopez's avatar James Lopez

remove useless var

parent 255cd316
...@@ -241,7 +241,6 @@ module Gitlab ...@@ -241,7 +241,6 @@ module Gitlab
end end
def build_attachment_url(rel_url) def build_attachment_url(rel_url)
data = project.import_data.try(:data)
uri = import_data_credentials['fb_session']['uri'] uri = import_data_credentials['fb_session']['uri']
token = import_data_credentials['fb_session']['token'] token = import_data_credentials['fb_session']['token']
"#{uri}/#{rel_url}&token=#{token}" "#{uri}/#{rel_url}&token=#{token}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment