DEV: Move Plugin::Instance.register_search_group_query_callback out of protected (#25413)
This commit is contained in:
parent
89883b2f51
commit
d34a7916c0
|
@ -1286,6 +1286,10 @@ class Plugin::Instance
|
|||
DiscoursePluginRegistry.register_post_stripper({ block: block }, self)
|
||||
end
|
||||
|
||||
def register_search_group_query_callback(callback)
|
||||
DiscoursePluginRegistry.register_search_groups_set_query_callback(callback, self)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def self.js_path
|
||||
|
@ -1367,10 +1371,6 @@ class Plugin::Instance
|
|||
DiscoursePluginRegistry.register_topic_preloader_association(fields, self)
|
||||
end
|
||||
|
||||
def register_search_group_query_callback(callback)
|
||||
DiscoursePluginRegistry.register_search_groups_set_query_callback(callback, self)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def setting_category
|
||||
|
|
Loading…
Reference in New Issue