lib/hancock/configuration.rb in hancock_cms-1.0.2.3 vs lib/hancock/configuration.rb in hancock_cms-2.0.0
- old
+ new
@@ -25,28 +25,24 @@
attr_accessor :recaptcha_support
attr_accessor :simple_captcha_support
attr_accessor :captcha_on_development
- attr_accessor :history_tracking
-
def initialize
@main_index_layout = 'application'
@error_layout = 'application'
@localize = false
@ability_manager_config = []
@ability_admin_config = []
- @recaptcha_support = !!defined?(Recaptcha)
- @simple_captcha_support = !!defined?(SimpleCaptcha)
+ @recaptcha_support = defined?(Recaptcha)
+ @simple_captcha_support = defined?(SimpleCaptcha)
@admin_enter_captcha = @recaptcha_support or @simple_captcha_support
@registration_captcha = @admin_enter_captcha
@captcha_on_development = false
-
- @history_tracking = true
end
end
end