diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-11-27 19:27:36 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-11-28 13:01:00 +0300 |
commit | bad26e2dab81239f3cb2e7e3ea76ba113415638c (patch) | |
tree | 5142b7570febe8ceb2733f0244f27a13e55081df /app/models/project_import_state.rb | |
parent | 4bd8a427d4e8127f1badc7365b35702472918956 (diff) |
Small code refactoring for condition circuit breaking
Also adds Changelog entry
Diffstat (limited to 'app/models/project_import_state.rb')
-rw-r--r-- | app/models/project_import_state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_import_state.rb b/app/models/project_import_state.rb index c80e612053c..488f0cb5971 100644 --- a/app/models/project_import_state.rb +++ b/app/models/project_import_state.rb @@ -73,7 +73,7 @@ class ProjectImportState < ActiveRecord::Base alias_method :no_import?, :none? def in_progress? - started? || scheduled? + scheduled? || started? end def started? |