Commit 67ee64f4 authored by Micaël Bergeron's avatar Micaël Bergeron

remove unused method

parent e6f3f761
......@@ -72,12 +72,6 @@ class Projects::LfsStorageController < Projects::GitHttpClientController
end
end
def move_tmp_file_to_storage(object, path)
object.file = File.open(path)
object.file.store!
object.save
end
def link_to_project!(object)
if object && !object.projects.exists?(storage_project.id)
object.projects << storage_project
......
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