diff options
Diffstat (limited to 'app/models/ci/project_status.rb')
-rw-r--r-- | app/models/ci/project_status.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/ci/project_status.rb b/app/models/ci/project_status.rb index b66f1212f23..2d35aeac225 100644 --- a/app/models/ci/project_status.rb +++ b/app/models/ci/project_status.rb @@ -27,9 +27,5 @@ module Ci def human_status status end - - def last_commit_for_ref(ref) - commits.where(ref: ref).last - end end end |