From d77afa4c982fed0d812a6334d30e235f4f2f5dad Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 3 Oct 2017 15:31:38 +0800 Subject: [PATCH] Remove self-explaintory comment. --- app/models/plugin_model.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/plugin_model.rb b/app/models/plugin_model.rb index 81665bb..d92080e 100644 --- a/app/models/plugin_model.rb +++ b/app/models/plugin_model.rb @@ -7,7 +7,6 @@ class DiscourseChat::PluginModel < PluginStoreRow after_initialize :init_plugin_model before_save :set_key - # Restrict the scope to JSON PluginStoreRows which are for this plugin, and this model def self.default_scope where(type_name: 'JSON') .where(plugin_name: self::PLUGIN_NAME)