Skip to content

A platform for community discussion. Free, open, simple.

FIX: make 'stats' method compatible with multisite.

Vinoth Kannan92cc57b5daef
diff --git a/lib/discourse.rb b/lib/discourse.rb
index f1c9f069d55..51f0e013131 100644
--- a/lib/discourse.rb
+++ b/lib/discourse.rb
@@ -469,7 +469,7 @@ module Discourse
end
def self.stats
- @stats ||= PluginStore.new("stats")
+ PluginStore.new("stats")
end
def self.current_user_provider