remove debug infos

This commit is contained in:
Alexander Meindl
2020-04-28 11:45:47 +02:00
parent b1d7309d97
commit 8501a98486
2 changed files with 0 additions and 4 deletions

View File

@@ -32,9 +32,6 @@ class Messenger
return if url.blank? || channels.blank?
params = { text: msg, link_names: 1 }
Rails.logger.debug "debug speak: #{params.inspect}"
username = textfield_for_project(options[:project], :messenger_username)
params[:username] = username if username.present?
params[:attachments] = options[:attachment]&.any? ? [options[:attachment]] : []

View File

@@ -44,7 +44,6 @@ module RedmineMessenger
attachment[:text] = Messenger.markup_format(content.comments.to_s)
end
Rails.logger.debug "debug project_url: #{Messenger.project_url_markdown(project)}"
Messenger.speak(l(:label_messenger_wiki_updated,
project_url: Messenger.project_url_markdown(project),
url: Messenger.url_markdown(self, title),