DEV: Remove dead code (#37)

DEV: Remove dead code (#37)

It was used to display suspect users in the users admin list

diff --git a/assets/javascripts/discourse-akismet/connectors/admin-users-list-icon/akismet-icon.hbs b/assets/javascripts/discourse-akismet/connectors/admin-users-list-icon/akismet-icon.hbs
deleted file mode 100644
index 96cb692..0000000
--- a/assets/javascripts/discourse-akismet/connectors/admin-users-list-icon/akismet-icon.hbs
+++ /dev/null
@@ -1,3 +0,0 @@
-{{#if user.akismet_state}}
-  {{d-icon icon title=(concat "akismet.user_state." user.akismet_state)}}
-{{/if}}
diff --git a/assets/javascripts/discourse-akismet/connectors/admin-users-list-icon/akismet-icon.js.es6 b/assets/javascripts/discourse-akismet/connectors/admin-users-list-icon/akismet-icon.js.es6
deleted file mode 100644
index dab4e86..0000000
--- a/assets/javascripts/discourse-akismet/connectors/admin-users-list-icon/akismet-icon.js.es6
+++ /dev/null
@@ -1,22 +0,0 @@
-export default {
-  shouldRender(args) {
-    return args.query === "suspect";
-  },
-
-  setupComponent(args, component) {
-    switch (args.user.akismet_state) {
-      case "pending":
-        component.set("icon", "far-clock");
-        break;
-      case "skipped":
-        component.set("icon", "question");
-        break;
-      case "confirmed_ham":
-        component.set("icon", "check");
-        break;
-      case "confirmed_spam":
-        component.set("icon", "times");
-        break;
-    }
-  },
-};
diff --git a/plugin.rb b/plugin.rb
index cd2383b..84adaa2 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -47,10 +47,6 @@ after_initialize do
     end
   end
 
-  add_to_serializer(:admin_user_list, :akismet_state) do
-    object.custom_fields[DiscourseAkismet::Bouncer::AKISMET_STATE]
-  end
-
   add_to_serializer(:post, :akismet_state, false) do
     post_custom_fields[DiscourseAkismet::Bouncer::AKISMET_STATE]
   end

GitHub sha: e8740a79ec985ec8ccf57849366a2430d9b25658

This commit appears in #37 which was approved by CvX. It was merged by udan11.