Skip to content

Commit

Permalink
DEV: This line doesn't do anything
Browse files Browse the repository at this point in the history
:float isn't a recognized option, it just gets interpreted as string,
which is the default. It shouldn't be registering fields, which are
global, based on SiteSettings, which are per site anyway.
  • Loading branch information
danielwaterworth committed Nov 20, 2023
1 parent 61f822f commit ff38169
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
end
end

register_post_custom_field_type(DiscoursePerspective.post_score_field_name, :float)

require_dependency "application_controller"

module ::Perspective
Expand Down

0 comments on commit ff38169

Please sign in to comment.