diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-05-04 18:11:20 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-05-04 18:11:20 +0300 |
commit | ce534e9395b9c6eaaef7400547a5adc613f046a7 (patch) | |
tree | c869863d978a26d4864436d91d129b635c18d564 /app/models/commit.rb | |
parent | 5b7589664297fd066324acfb9b6eafe2ad1d432c (diff) | |
download | gitlab-ci-ce534e9395b9c6eaaef7400547a5adc613f046a7.tar.gz |
Refactoring. Clean up advanced settings. Migrate from gotlab_url to path
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index bc33350..6c876bd 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -51,11 +51,7 @@ class Commit < ActiveRecord::Base end def compare? - gitlab? && !new_branch? - end - - def gitlab? - project.gitlab? + !new_branch? end def git_author_name |