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,
|
UserEmail: :email,
|
||||||
UserFirstname: :firstname,
|
UserFirstname: :firstname,
|
||||||
UserLastname: :lastname,
|
UserLastname: :lastname,
|
||||||
# :UserTitle =>
|
|
||||||
UserLogin: :login,
|
UserLogin: :login,
|
||||||
UserPw: :password,
|
UserPw: :password,
|
||||||
};
|
};
|
||||||
|
@ -726,7 +725,6 @@ module Import::OTRS
|
||||||
}
|
}
|
||||||
|
|
||||||
# check if state already exists
|
# check if state already exists
|
||||||
# user_old = User.where( :login => user_new[:login] ).first
|
|
||||||
user_old = User.where( id: user_new[:id] ).first
|
user_old = User.where( id: user_new[:id] ).first
|
||||||
|
|
||||||
# set state types
|
# set state types
|
||||||
|
@ -742,8 +740,6 @@ module Import::OTRS
|
||||||
user.id = user_new[:id]
|
user.id = user_new[:id]
|
||||||
user.save
|
user.save
|
||||||
end
|
end
|
||||||
|
|
||||||
# end
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
def self.customer
|
def self.customer
|
||||||
|
@ -767,7 +763,6 @@ module Import::OTRS
|
||||||
UserEmail: :email,
|
UserEmail: :email,
|
||||||
UserFirstname: :firstname,
|
UserFirstname: :firstname,
|
||||||
UserLastname: :lastname,
|
UserLastname: :lastname,
|
||||||
# :UserTitle =>
|
|
||||||
UserLogin: :login,
|
UserLogin: :login,
|
||||||
UserPassword: :password,
|
UserPassword: :password,
|
||||||
UserPhone: :phone,
|
UserPhone: :phone,
|
||||||
|
|
|
@ -944,7 +944,6 @@ module Import::OTRS2
|
||||||
UserEmail: :email,
|
UserEmail: :email,
|
||||||
UserFirstname: :firstname,
|
UserFirstname: :firstname,
|
||||||
UserLastname: :lastname,
|
UserLastname: :lastname,
|
||||||
# :UserTitle =>
|
|
||||||
UserLogin: :login,
|
UserLogin: :login,
|
||||||
UserPw: :password,
|
UserPw: :password,
|
||||||
};
|
};
|
||||||
|
@ -1065,7 +1064,6 @@ module Import::OTRS2
|
||||||
UserEmail: :email,
|
UserEmail: :email,
|
||||||
UserFirstname: :firstname,
|
UserFirstname: :firstname,
|
||||||
UserLastname: :lastname,
|
UserLastname: :lastname,
|
||||||
# :UserTitle =>
|
|
||||||
UserLogin: :login,
|
UserLogin: :login,
|
||||||
UserPassword: :password,
|
UserPassword: :password,
|
||||||
UserPhone: :phone,
|
UserPhone: :phone,
|
||||||
|
|
Loading…
Reference in a new issue