From b5935f0782028aa8270ebb1a78e157d746864d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D=C3=A1vila?= Date: Mon, 1 Feb 2016 17:43:34 -0500 Subject: [PATCH] Remove no longer required method. --- app/models/repository.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/repository.rb b/app/models/repository.rb index 37fefc91cb2..c57f84175a0 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -137,10 +137,6 @@ class Repository find_branch(branch_name) end - def find_or_create_branch(user, name, ref) - find_branch(name) or add_branch(user, name, ref) - end - def add_tag(tag_name, ref, message = nil) expire_tags_cache