about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-29 15:07:50 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-29 15:07:50 -0500
commit896817421ac9ae8509fd7c74902916138f35e41a (patch)
tree2763e916ceabaa6f0f9e16245a99f59a844b328c
parent74290d4eb3f6771ad21d9e2c1d0a76d4f76bb263 (diff)
too many args (too many args)
-rw-r--r--app/helpers/log_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/log_helper.rb b/app/helpers/log_helper.rb
index 886c49784..a77582367 100644
--- a/app/helpers/log_helper.rb
+++ b/app/helpers/log_helper.rb
@@ -23,12 +23,12 @@ module LogHelper
       elsif target.is_a? CustomEmoji
         LogWorker.perform_async("\xf0\x9f\x97\x91\xef\xb8\x8f <#{source}> removed the '#{target.shortcode}' emoji.", LOG_SCOPE_MODERATION)
       elsif target.is_a? Status
-        LogWorker.perform_async("\xf0\x9f\x97\x91\xef\xb8\x8f <#{source}> removed post #{TagManager.instance.url_for(target, LOG_SCOPE_MODERATION)}\u200b.")
+        LogWorker.perform_async("\xf0\x9f\x97\x91\xef\xb8\x8f <#{source}> removed post #{TagManager.instance.url_for(target)}\u200b.")
       end
 
     when :update
       if target.is_a? Status
-        LogWorker.perform_async("\xf0\x9f\x91\x81\xef\xb8\x8f <#{source}> changed visibility flags of post #{TagManager.instance.url_for(target, LOG_SCOPE_MODERATION)}\u200b.")
+        LogWorker.perform_async("\xf0\x9f\x91\x81\xef\xb8\x8f <#{source}> changed visibility flags of post #{TagManager.instance.url_for(target)}\u200b.")
       elsif target.is_a? CustomEmoji
         LogWorker.perform_async("\xf0\x9f\x94\x81 <#{source}> replaced the '#{target.shortcode}' emoji. :#{target.shortcode}:", LOG_SCOPE_MODERATION)
       end