DEV: Remove deprecated method (#14902)

This commit is contained in:
Daniel Waterworth
2021-11-12 09:07:44 -06:00
committed by GitHub
parent e7c0bbb9c0
commit 4724f3cbf7

View File

@@ -287,11 +287,6 @@ class Group < ActiveRecord::Base
end
end
def self.register_plugin_editable_group_custom_field(custom_field_name, plugin)
Discourse.deprecate("Editable group custom fields should be registered using the plugin API", since: "v2.4.0.beta4", drop_from: "v2.5.0")
DiscoursePluginRegistry.register_editable_group_custom_field(custom_field_name, plugin)
end
def downcase_incoming_email
self.incoming_email = (incoming_email || "").strip.downcase.presence
end