Use boolean comparators where it makes sense
This commit is contained in:
parent
dbdc7ae4aa
commit
118886344a
28 changed files with 60 additions and 60 deletions
|
|
@ -4,7 +4,7 @@ require "foodsoft_uservoice/engine"
|
|||
module FoodsoftUservoice
|
||||
# enabled when configured, but can still be disabled by use_uservoice option
|
||||
def self.enabled?
|
||||
FoodsoftConfig[:use_uservoice] != false and FoodsoftConfig[:uservoice]
|
||||
FoodsoftConfig[:use_uservoice] != false && FoodsoftConfig[:uservoice]
|
||||
end
|
||||
|
||||
module LoadUservoice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue