From 9cc39b5c183694329b5c099570e7697d01bc1f69 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Sun, 5 Jul 2020 15:09:46 +0600 Subject: [PATCH] https://discourse.pro/t/324 --- plugin.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 66ccf41..5569291 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,6 +1,6 @@ # name: df-core # about: A common functionality of my Discourse plugins. -# version: 1.4.1 +# version: 1.4.2 # authors: Dmitry Fedyuk # url: https://discourse.pro #register_asset 'javascripts/lib/sprintf.js' @@ -16,6 +16,9 @@ # 2) "Why does the `SiteSettings` class use the `DistributedCache` # without a `require 'distributed_cache';` statement?": https://meta.discourse.org/t/77580 require 'distributed_cache' +# 2020-07-05 +# I have commentet out this line to fix the bug: «uninitialized constant SiteSettingExtension::SiteSettings» +# https://discourse.pro/t/324 #require 'site_setting_extension' if defined?(SiteSettings::TypeSupervisor) SiteSettings::TypeSupervisor.module_eval do