2016-11-25 16:10:37 +00:00
|
|
|
module Import
|
|
|
|
module OTRS
|
|
|
|
module UserFactory
|
|
|
|
extend Import::Factory
|
2017-02-03 13:16:11 +00:00
|
|
|
|
|
|
|
# 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
|
2016-11-25 16:10:37 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|