Remove code that is left over during the extraction from Discourse.

Remove code that is left over during the extraction from Discourse.

diff --git a/lib/generators/mini_scheduler/install/templates/mini_scheduler_initializer.rb b/lib/generators/mini_scheduler/install/templates/mini_scheduler_initializer.rb
index 314e9ba..10812aa 100644
--- a/lib/generators/mini_scheduler/install/templates/mini_scheduler_initializer.rb
+++ b/lib/generators/mini_scheduler/install/templates/mini_scheduler_initializer.rb
@@ -29,10 +29,6 @@ end
 
 if Sidekiq.server? && defined?(Rails)
   Rails.application.config.after_initialize do
-    scheduler_hostname = ENV["UNICORN_SCHEDULER_HOSTNAME"]
-
-    if !scheduler_hostname || scheduler_hostname.split(',').include?(`hostname`.strip)
-      MiniScheduler.start
-    end
+    MiniScheduler.start
   end
 end

GitHub sha: f47902bf