mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
DEV: Remove deprecated method (#14902)
This commit is contained in:
parent
e7c0bbb9c0
commit
4724f3cbf7
@ -287,11 +287,6 @@ class Group < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
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
|
def downcase_incoming_email
|
||||||
self.incoming_email = (incoming_email || "").strip.downcase.presence
|
self.incoming_email = (incoming_email || "").strip.downcase.presence
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user