diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 00:09:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 00:09:39 +0300 |
commit | cdf9ef52fe13899be29068992a9858f8b0e72457 (patch) | |
tree | d26b77d147c1a8506213c05048f026fe9ef8ad1e /app/presenters | |
parent | 13150a38e701080f6c64d4925c838214a3f5ef2c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/commit_status_presenter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/commit_status_presenter.rb b/app/presenters/commit_status_presenter.rb index 258852c77c6..23e688e562e 100644 --- a/app/presenters/commit_status_presenter.rb +++ b/app/presenters/commit_status_presenter.rb @@ -26,8 +26,6 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated presents :build - prepend_if_ee('::EE::CommitStatusPresenter') # rubocop: disable Cop/InjectEnterpriseEditionModule - def self.callout_failure_messages CALLOUT_FAILURE_MESSAGES end @@ -44,3 +42,5 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated script_failure? || missing_dependency_failure? || archived_failure? || scheduler_failure? || data_integrity_failure? end end + +CommitStatusPresenter.prepend_if_ee('::EE::CommitStatusPresenter') |