mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Added wrapper to signal that NewPostManager#add_plugin_payload_attribute is part of the public API
This commit is contained in:
@@ -730,6 +730,12 @@ class Plugin::Instance
|
||||
end
|
||||
end
|
||||
|
||||
def allow_new_queued_post_payload_attribute(attribute_name)
|
||||
reloadable_patch do
|
||||
NewPostManager.add_plugin_payload_attribute(attribute_name)
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def write_asset(path, contents)
|
||||
|
||||
Reference in New Issue
Block a user