summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-12-20 16:54:09 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-12-22 20:30:07 -0300
commit7354c9f75dfbf4c495d2869b5dd4f0dd4f5c9612 (patch)
treeb58fd152ae9311c2932e404dcad19877003e4629 /app
parent450317298ce177722b721353a0161d4347536120 (diff)
downloadgitlab-ce-7354c9f75dfbf4c495d2869b5dd4f0dd4f5c9612.tar.gz
Remove unused method `remote_exists?`
Diffstat (limited to 'app')
-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 a34f5e5439b..b1fd981965c 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -1010,10 +1010,6 @@ class Repository
raw_repository.fetch_source_branch!(source_repository.raw_repository, source_branch, local_ref)
end
- def remote_exists?(name)
- raw_repository.remote_exists?(name)
- end
-
def compare_source_branch(target_branch_name, source_repository, source_branch_name, straight:)
raw_repository.compare_source_branch(target_branch_name, source_repository.raw_repository, source_branch_name, straight: straight)
end