mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Rely on dotenv autoload instead of explicit call (#30007)
This commit is contained in:
parent
a15139bc02
commit
18737aad49
1 changed files with 0 additions and 2 deletions
|
@ -52,8 +52,6 @@ require_relative '../lib/active_record/batches'
|
||||||
require_relative '../lib/simple_navigation/item_extensions'
|
require_relative '../lib/simple_navigation/item_extensions'
|
||||||
require_relative '../lib/http_extensions'
|
require_relative '../lib/http_extensions'
|
||||||
|
|
||||||
Dotenv::Rails.load
|
|
||||||
|
|
||||||
Bundler.require(:pam_authentication) if ENV['PAM_ENABLED'] == 'true'
|
Bundler.require(:pam_authentication) if ENV['PAM_ENABLED'] == 'true'
|
||||||
|
|
||||||
require_relative '../lib/mastodon/redis_config'
|
require_relative '../lib/mastodon/redis_config'
|
||||||
|
|
Loading…
Reference in a new issue