mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
Merge pull request #1606 from vipulnsward/remove_double_calls
Dont call `SiteSetting.uncategorized_category_id` twice
This commit is contained in:
commit
a2794912a3
@ -77,8 +77,6 @@ Spork.prefork do
|
|||||||
|
|
||||||
config.before(:all) do
|
config.before(:all) do
|
||||||
DiscoursePluginRegistry.clear
|
DiscoursePluginRegistry.clear
|
||||||
uncat_id = SiteSetting.uncategorized_category_id
|
|
||||||
|
|
||||||
Discourse.current_user_provider = TestCurrentUserProvider
|
Discourse.current_user_provider = TestCurrentUserProvider
|
||||||
|
|
||||||
# a bit odd, but this setting is actually preloaded
|
# a bit odd, but this setting is actually preloaded
|
||||||
|
Loading…
Reference in New Issue
Block a user