Corrected with rubocop cop 'Style/AsciiIdentifiers'.

This commit is contained in:
Thorsten Eckel 2015-05-01 14:36:36 +02:00
parent 33d447cb76
commit e35d68f73b
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ class Observer::Ticket::Notification::BackgroundJob
object: 'Ticket',
o_id: ticket.id,
seen: seen,
created_by_id: ticket.updated_by_id ||  1,
created_by_id: ticket.updated_by_id || 1,
user_id: user.id,
)
@ -135,7 +135,7 @@ class Observer::Ticket::Notification::BackgroundJob
history_type: 'notification',
history_object: 'Ticket',
value_to: recipient_list,
created_by_id: ticket.updated_by_id ||  1
created_by_id: ticket.updated_by_id || 1
)
end

View file

@ -1004,7 +1004,7 @@ module Import::OTRS2
if group_lookup['Name'] == 'admin' && permissions && permissions.include?('rw')
roles.push 'Admin'
end
if group_lookup['Name'] =~ /^(stats|report)/ && permissions && ( permissions.include?('ro') ||  permissions.include?('rw') )
if group_lookup['Name'] =~ /^(stats|report)/ && permissions && ( permissions.include?('ro') || permissions.include?('rw') )
roles.push 'Report'
end
end