Maintenance: Resolved rubocop Style/AccessModifierDeclarations violations.
This commit is contained in:
parent
9269385acd
commit
93550ad494
3 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
|||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
module ExtraCollection
|
||||
|
||||
module_function
|
||||
|
||||
def session( collections, assets, user )
|
||||
|
||||
# all base stuff
|
||||
|
@ -45,5 +48,4 @@ module ExtraCollection
|
|||
|
||||
[collections, assets]
|
||||
end
|
||||
module_function :session # rubocop:disable Style/AccessModifierDeclarations
|
||||
end
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
module ExtraCollection
|
||||
|
||||
module_function
|
||||
|
||||
def session( collections, assets, user )
|
||||
return [collections, assets] if !user
|
||||
|
||||
|
@ -15,5 +18,4 @@ module ExtraCollection
|
|||
|
||||
[collections, assets]
|
||||
end
|
||||
module_function :session # rubocop:disable Style/AccessModifierDeclarations
|
||||
end
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
module ExtraCollection
|
||||
|
||||
module_function
|
||||
|
||||
def session( collections, assets, user )
|
||||
|
||||
# all ticket stuff
|
||||
|
@ -47,5 +50,4 @@ module ExtraCollection
|
|||
end
|
||||
[collections, assets]
|
||||
end
|
||||
module_function :session # rubocop:disable Style/AccessModifierDeclarations
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue