From 4684e76aefca2c49d3421e7184a1d568e2cc0dac Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Tue, 28 Oct 2008 21:55:59 +0100 Subject: Remove reload call from vendored gem. Breaks a bunch of stuff as Dispatcher isn't always defined. This call will be moved into Dispatcher in a bit. --- .../lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb b/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb index f34e880bfd..c682eadf85 100644 --- a/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb +++ b/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb @@ -6,10 +6,6 @@ module I18n INTERPOLATION_RESERVED_KEYS = %w(scope default) MATCH = /(\\\\)?\{\{([^\}]+)\}\}/ - def initialize - Dispatcher.to_prepare { reload } - end - # Accepts a list of paths to translation files. Loads translations from # plain Ruby (*.rb) or YAML files (*.yml). See #load_rb and #load_yml # for details. -- cgit v1.2.3