diff options
author | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-20 21:14:24 +0200 |
---|---|---|
committer | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-24 12:56:24 +0200 |
commit | 39b313ba5f22dc265afe33e1f1e2d3d37d373678 (patch) | |
tree | 9f56ab4d1c51c01076e71ebbe21e1f29f2a9995d /app | |
parent | fd511639d98962298f4ffb36cb95376bc7c9f19e (diff) | |
download | gitlab-ce-39b313ba5f22dc265afe33e1f1e2d3d37d373678.tar.gz |
Removed unused `IssuablesHelper#issuable_state_scope`
Its last usage has been removed at 260c8da060.
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/issuables_helper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index 197c90c4081..00199d065bd 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -305,14 +305,6 @@ module IssuablesHelper cookies[:collapsed_gutter] == 'true' end - def issuable_state_scope(issuable) - if issuable.respond_to?(:merged?) && issuable.merged? - :merged - else - issuable.open? ? :opened : :closed - end - end - def issuable_templates(issuable) @issuable_templates ||= case issuable |