mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Get rid of no longer needed target_usernames warning log
This commit is contained in:
parent
bd04b9cbbe
commit
c84652eb8b
2 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue