diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-12-24 13:38:17 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-12-24 13:38:17 +0200 |
commit | 999a374f778909b3681190dcf0936ba9bb989413 (patch) | |
tree | 03a14e9bc34eb856a66c3a641ac1383d21a6f396 /app/models/ci/commit.rb | |
parent | d794ae8e1f6351282707d45df97ac0ec2a41eeb6 (diff) | |
parent | e557c8d0a2c1b05148a9d73a8a658962a3ef6147 (diff) | |
download | gitlab-ce-999a374f778909b3681190dcf0936ba9bb989413.tar.gz |
Merge branch 'emoji-picker-search'into emoji_picker_frequently_usedemoji_picker_frequently_used
Diffstat (limited to 'app/models/ci/commit.rb')
-rw-r--r-- | app/models/ci/commit.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/models/ci/commit.rb b/app/models/ci/commit.rb index 6bf596e5d3e..d2a29236942 100644 --- a/app/models/ci/commit.rb +++ b/app/models/ci/commit.rb @@ -218,16 +218,6 @@ module Ci update!(committed_at: DateTime.now) end - ## - # This method checks if build status should be displayed. - # - # Build status should be available only if builds are enabled - # on project level and `.gitlab-ci.yml` file is present. - # - def show_build_status? - project.builds_enabled? && ci_yaml_file - end - private def save_yaml_error(error) |