Commit f7e8d8c3 authored by Rob Colbert's avatar Rob Colbert

remove email notification for admin and moderation actions

parent 4d458d57
...@@ -28,7 +28,6 @@ class Admin::AccountAction ...@@ -28,7 +28,6 @@ class Admin::AccountAction
process_warning! process_warning!
end end
process_reports! process_reports!
end end
...@@ -118,12 +117,6 @@ class Admin::AccountAction ...@@ -118,12 +117,6 @@ class Admin::AccountAction
Admin::SuspensionWorker.perform_async( Admin::SuspensionWorker.perform_async(
end end
def queue_email!
return unless warnable?
UserMailer.warning(target_account.user, warning).deliver_later!
def warnable? def warnable?
send_email_notification && target_account.local? send_email_notification && target_account.local?
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment