Do not validate owner id in import mode (needed for historical reasons).

This commit is contained in:
Martin Edenhofer 2018-02-19 11:15:47 +01:00
parent a6b61f31c5
commit ab9e503b2b

View file

@ -1209,6 +1209,7 @@ result
end
def check_owner_active
return true if Setting.get('import_mode')
# return when ticket is unassigned
return true if owner_id.blank?