summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2017-07-26 15:06:52 +0100
committerAndrew Newdigate <andrew@gitlab.com>2017-07-26 15:06:52 +0100
commitd596c731459140dd49ecf05475e62861874e97a1 (patch)
tree79eb9d7e8f15ccd94edd7fe569fee8f71484fad5
parent0c563225b663742b4f26731dc7bc822a38f7289b (diff)
downloadgitlab-ce-remove_blob_by_oid.tar.gz
Removed `Repository#blob_by_oid` unused methodremove_blob_by_oid
-rw-r--r--app/models/repository.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index d27eeff9fb4..50b7a477904 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -457,10 +457,6 @@ class Repository
nil
end
- def blob_by_oid(oid)
- Gitlab::Git::Blob.raw(self, oid)
- end
-
def root_ref
if raw_repository
raw_repository.root_ref