DEV: Remove `User` class methods that have been deprecated. (#13612)

DEV: Remove User class methods that have been deprecated. (#13612)

diff --git a/app/models/user.rb b/app/models/user.rb
index a1b9208..6dcd9dd 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -293,21 +293,6 @@ class User < ActiveRecord::Base
     fields.uniq
   end
 
-  def self.register_plugin_editable_user_custom_field(custom_field_name, plugin, staff_only: false)
-    Discourse.deprecate("Editable user custom fields should be registered using the plugin API", since: "v2.4.0.beta4", drop_from: "v2.5.0")
-    DiscoursePluginRegistry.register_editable_user_custom_field(custom_field_name, plugin, staff_only: staff_only)
-  end
-
-  def self.register_plugin_staff_custom_field(custom_field_name, plugin)
-    Discourse.deprecate("Staff user custom fields should be registered using the plugin API",  since: "v2.4.0.beta4", drop_from: "v2.5.0")
-    DiscoursePluginRegistry.register_staff_user_custom_field(custom_field_name, plugin)
-  end
-
-  def self.register_plugin_public_custom_field(custom_field_name, plugin)
-    Discourse.deprecate("Public user custom fields should be registered using the plugin API", since: "v2.4.0.beta4", drop_from: "v2.5.0")
-    DiscoursePluginRegistry.register_public_user_custom_field(custom_field_name, plugin)
-  end
-
   def self.allowed_user_custom_fields(guardian)
     fields = []
 

GitHub sha: f26acb4b634e148bf0c1f1dfc158859329e4beae

This commit appears in #13612 which was approved by CvX. It was merged by tgxworld.