app/models/taxon_concept.rb
# Self-healing... nothing can be locked for more than 24 hours.
Self-healing... nothing can be locked for more than 24 hours.
Self - healing ... nothing can be locked for more than 24 hours .
def classifications_locked?
    if taxon_classifications_lock
      if taxon_classifications_lock.created_at <= 1.day.ago
        unlock_classifications
        return false
      end
      return true
    else
      return false
    end
  end
def classifications_locked? if taxon_classifications_lock if taxon_classifications_lock . created_at <= 1 . day . ago unlock_classifications return false end return true else return false end end
Self-healing... nothing can be locked for more than 24 hours.
Self - healing ... nothing can be locked for more than 24 hours .