trabajo-afectivo/lib/import/otrs/user_factory.rb

18 lines
371 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
module Import
module OTRS
module UserFactory
extend Import::Factory
# rubocop:disable Style/ModuleFunction
extend self
# skip root@localhost since we have our own \o/
def skip?(record, *_args)
record['UserID'].to_i == 1
end
end
end
end