mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:31:18 +08:00
Get rid of no longer needed target_usernames warning log
This commit is contained in:
@ -777,10 +777,6 @@ class PostsController < ApplicationController
|
||||
result[:target_group_names] = groups.join(",")
|
||||
end
|
||||
|
||||
if (recipients.blank? || result[:target_usernames].blank?) && params[:archetype] == Archetype.private_message
|
||||
Rails.logger.warn("Missing recipients for PM! result: #{result.inspect} | params: #{params.inspect}")
|
||||
end
|
||||
|
||||
result.permit!
|
||||
result.to_h
|
||||
end
|
||||
|
Reference in New Issue
Block a user