From a1e30b23db6885ef08992a10c1abd686d11eebef Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlarek Date: Wed, 15 Jul 2020 09:45:20 +1000 Subject: [PATCH] FIX: remove empty line --- plugin.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugin.rb b/plugin.rb index 5b82679..d5d3a41 100644 --- a/plugin.rb +++ b/plugin.rb @@ -200,7 +200,6 @@ after_initialize do end end - # TODO Drop after Discourse 2.6.0 release if respond_to?(:whitelist_staff_user_custom_field) whitelist_staff_user_custom_field(COUNT_FIELD) @@ -208,7 +207,6 @@ after_initialize do allow_staff_user_custom_field(COUNT_FIELD) end - add_to_class(Guardian, :can_delete_user_notes?) do (SiteSetting.user_notes_moderators_delete? && user.staff?) || user.admin? end