DEV: Remove fallback to TopicTimer close type (#144)

DEV: Remove fallback to TopicTimer close type (#144)

We’ve been past the 2.7 release for a while now and silent_close is in core; time to remove this fallback.

diff --git a/plugin.rb b/plugin.rb
index 6d825be..6ce40da 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -138,8 +138,7 @@ SQL
 
         if (auto_close_hours > 0) && !topic.closed
           topic_timer = topic.set_or_create_timer(
-            # Fallback to TopicTimer.types[:close] can be removed after discourse stable version > 2.7
-            TopicTimer.types[:silent_close] || TopicTimer.types[:close],
+            TopicTimer.types[:silent_close],
             nil,
             based_on_last_post: true,
             duration_minutes: auto_close_hours * 60

GitHub sha: af0d3aca61a0e5d690ca87bf4d60a61da4452d52

This commit appears in #144 which was approved by lis2. It was merged by martin.