Corrected with rubocop cop 'Style/IndentationWidth'.
This commit is contained in:
parent
8c2ea52b3c
commit
19feb32c7b
7 changed files with 90 additions and 97 deletions
|
@ -702,7 +702,6 @@ module Import::OTRS
|
|||
UserEmail: :email,
|
||||
UserFirstname: :firstname,
|
||||
UserLastname: :lastname,
|
||||
# :UserTitle =>
|
||||
UserLogin: :login,
|
||||
UserPw: :password,
|
||||
};
|
||||
|
@ -726,7 +725,6 @@ module Import::OTRS
|
|||
}
|
||||
|
||||
# check if state already exists
|
||||
# user_old = User.where( :login => user_new[:login] ).first
|
||||
user_old = User.where( id: user_new[:id] ).first
|
||||
|
||||
# set state types
|
||||
|
@ -742,8 +740,6 @@ module Import::OTRS
|
|||
user.id = user_new[:id]
|
||||
user.save
|
||||
end
|
||||
|
||||
# end
|
||||
}
|
||||
end
|
||||
def self.customer
|
||||
|
@ -767,7 +763,6 @@ module Import::OTRS
|
|||
UserEmail: :email,
|
||||
UserFirstname: :firstname,
|
||||
UserLastname: :lastname,
|
||||
# :UserTitle =>
|
||||
UserLogin: :login,
|
||||
UserPassword: :password,
|
||||
UserPhone: :phone,
|
||||
|
|
|
@ -944,7 +944,6 @@ module Import::OTRS2
|
|||
UserEmail: :email,
|
||||
UserFirstname: :firstname,
|
||||
UserLastname: :lastname,
|
||||
# :UserTitle =>
|
||||
UserLogin: :login,
|
||||
UserPw: :password,
|
||||
};
|
||||
|
@ -1065,7 +1064,6 @@ module Import::OTRS2
|
|||
UserEmail: :email,
|
||||
UserFirstname: :firstname,
|
||||
UserLastname: :lastname,
|
||||
# :UserTitle =>
|
||||
UserLogin: :login,
|
||||
UserPassword: :password,
|
||||
UserPhone: :phone,
|
||||
|
|
Loading…
Reference in a new issue