diff options
author | Marius Mathiesen <marius@gitorious.org> | 2012-11-29 13:05:20 (GMT) |
---|---|---|
committer | Christian Johansen <christian@gitorious.com> | 2013-01-08 14:03:00 (GMT) |
commit | 4175022f92b174240eb08807e288d01edec73cca (patch) | |
tree | aa6c9c82180f2dd4bc70989754a95a3b939f4da5 | |
parent | 13cf7ddc0eadf7505918a222bb1e519cae35d45e (diff) |
Revert "Support a remote redis server when sending messages on push"
This should be on next
This reverts commit aeeeec5bc567e41ae7ea6c660cd8d6669da215d0.
-rw-r--r-- | data/hooks/messaging.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/data/hooks/messaging.rb b/data/hooks/messaging.rb index b4b3491..8077ee6 100644 --- a/data/hooks/messaging.rb +++ b/data/hooks/messaging.rb @@ -53,13 +53,6 @@ if !defined?(GitoriousConfig) Bundler.require adapter.to_sym Gitorious::Messaging.load_adapter(adapter) Gitorious::Messaging.configure_publisher(adapter) - if adapter == "resque" - resque_config = Rails.root + "config/resque.yml" - if resque_config.exist? - settings = YAML::load_file(resque_config)[Rails.env.to_s] - Resque.redis = settings if settings - end - end end class Publisher |