mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 10:32:45 +08:00
DEV: Fix warning about already initialized constants in FileStore::BaseStore
This commit is contained in:
parent
62399ca387
commit
c1c090419b
|
@ -9,12 +9,6 @@ require_dependency 'auth/default_current_user_provider'
|
||||||
require_dependency 'version'
|
require_dependency 'version'
|
||||||
require 'digest/sha1'
|
require 'digest/sha1'
|
||||||
|
|
||||||
# Prevents errors with reloading dev with conditional includes
|
|
||||||
if Rails.env.development?
|
|
||||||
require_dependency 'file_store/s3_store'
|
|
||||||
require_dependency 'file_store/local_store'
|
|
||||||
end
|
|
||||||
|
|
||||||
module Discourse
|
module Discourse
|
||||||
DB_POST_MIGRATE_PATH ||= "db/post_migrate"
|
DB_POST_MIGRATE_PATH ||= "db/post_migrate"
|
||||||
REQUESTED_HOSTNAME ||= "REQUESTED_HOSTNAME"
|
REQUESTED_HOSTNAME ||= "REQUESTED_HOSTNAME"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user