diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-03 20:17:02 +0100 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-03 20:17:02 +0100 |
commit | c49cb40f65d75a54c8471cb5207512ec145593cc (patch) | |
tree | 87b0e3d25abb2123df2f69e344cbfbfb727b3795 /app | |
parent | 1b1403804e03db3cea3ad6a84dcfead449ed29d5 (diff) | |
download | gitlab-ce-c49cb40f65d75a54c8471cb5207512ec145593cc.tar.gz |
Remove dead Event#new_branch? method
Diffstat (limited to 'app')
-rw-r--r-- | app/models/event.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index c0b126713a6..65b4c2edfee 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -186,10 +186,6 @@ class Event < ActiveRecord::Base data[:ref]["refs/heads"] end - def new_branch? - commit_from =~ /^00000/ - end - def new_ref? commit_from =~ /^00000/ end |