diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-28 17:59:42 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-28 17:59:42 +0300 |
commit | b9bbbb319a8186f2b2aecba9a0bd33c95e2d3353 (patch) | |
tree | 02414526097d2ca33320914a386738e6cd901df0 /app/models | |
parent | 5f4de8f91e6e75e2d70e199156a813d9608a0fe3 (diff) | |
download | gitlab-ci-b9bbbb319a8186f2b2aecba9a0bd33c95e2d3353.tar.gz |
Fix 'ci skip' tag
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/commit.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index bfc7878..bc33350 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -58,10 +58,6 @@ class Commit < ActiveRecord::Base project.gitlab? end - def ci_skip? - !!(git_commit_message =~ /(\[ci skip\])/) - end - def git_author_name commit_data[:author][:name] if commit_data && commit_data[:author] end |