Corrected with rubocop cop 'Style/IndentationWidth'.

This commit is contained in:
Thorsten Eckel 2015-04-30 19:14:51 +02:00
parent 8c2ea52b3c
commit 19feb32c7b
7 changed files with 90 additions and 97 deletions

View file

@ -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,
@ -800,7 +795,7 @@ module Import::OTRS
}
# check if state already exists
# user_old = User.where( :login => user_new[:login] ).first
# user_old = User.where( :login => user_new[:login] ).first
user_old = User.where( login: user_new[:login] ).first
# set state types

View file

@ -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,