lib/rest-ftp-daemon/workers/reporter.rb in rest-ftp-daemon-1.0.5 vs lib/rest-ftp-daemon/workers/reporter.rb in rest-ftp-daemon-1.0.6
- old
+ new
@@ -8,10 +8,10 @@
def worker_init
# Load corker conf
config_section :reporter
# Other configuration options
- @feature_newrelic = Conf.feature?(:newrelic)
+ @feature_newrelic = Conf.feature_newrelic?
# Check that everything is OK
return "reporter disabled" if disabled?(@config[:timer])
return "invalid timer" unless @config[:timer].to_i > 0
return false
\ No newline at end of file