Skip to content

Commit

Permalink
1.2.5: #1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jan 9, 2018
1 parent 09decea commit 5227776
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# name: df-core
# about: A common functionality of my Discourse plugins.
# version: 1.2.4
# version: 1.2.5
# authors: Dmitry Fedyuk
# url: https://discourse.pro
#register_asset 'javascripts/lib/sprintf.js'
Expand Down Expand Up @@ -93,6 +93,13 @@ def request(method, params = {})
core__request method, params
end
end
# 2018-01-09
# 1) "«NameError: uninitialized constant SiteSettings::DefaultsProvider::DistributedCache»
# on `bundle exec rake db:migrate` after upgrading to Discourse v1.9.0.beta11":
# https://github.com/discourse-pro/df-core/issues/1
# 2) "Why does the `SiteSettings` class use the `DistributedCache`
# without a `require 'distributed_cache';` statement?": https://meta.discourse.org/t/77580
require 'distributed_cache'
require 'site_setting_extension'
SiteSettingExtension.module_eval do
alias_method :core__types, :types
Expand Down

0 comments on commit 5227776

Please sign in to comment.