lib/dynamic_sitemaps/tasks/sitemap.rake in dynamic_sitemaps-2.0.0.beta vs lib/dynamic_sitemaps/tasks/sitemap.rake in dynamic_sitemaps-2.0.0.beta2

- old
+ new

@@ -1,12 +1,8 @@ namespace :sitemap do task :generate => :environment do start_time = Time.now - puts "Generating sitemap..." + DynamicSitemaps::Logger.info "Generating sitemap..." DynamicSitemaps.generate_sitemap - puts "Done generating sitemap in #{Time.now - start_time} seconds." - - if Rails.env.production? - DynamicSitemaps::Pinger.ping_search_engines - end + DynamicSitemaps::Logger.info "Done generating sitemap in #{Time.now - start_time} seconds." end end \ No newline at end of file