From c6825cb2d5cf27c340cea2b8f46136ef0238c94c Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Mon, 20 Sep 2021 16:16:08 +0200 Subject: [PATCH] remove debugging infos --- app/models/additionals_plugin.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/additionals_plugin.rb b/app/models/additionals_plugin.rb index fe451493..4dc1a429 100644 --- a/app/models/additionals_plugin.rb +++ b/app/models/additionals_plugin.rb @@ -17,17 +17,14 @@ class AdditionalsPlugin # if force: true, no access control check for disabled module def default_plugin_check?(method_name, force: true) plugin_name = method_name.to_s[7..-2] - Additionals.debug "plugin_check: #{method_name} - force: #{force}" Redmine::Plugin.installed?("redmine_#{plugin_name}") && (force || Redmine::AccessControl.active_module?(plugin_name.to_sym)) end def active_reporting? - Additionals.debug 'active_reporting? is running' @active_reporting ||= Redmine::Plugin.installed? 'redmine_reporting' end def active_hrm? - Additionals.debug 'active_hrm? is running' @active_hrm ||= Redmine::Plugin.installed? 'redmine_hrm' end