Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove debug pp statement

Christophe Bliarda4986ba4e2fb
diff --git a/modules/costs/app/controllers/admin/costs_settings_controller.rb b/modules/costs/app/controllers/admin/costs_settings_controller.rb
index f43ba4127e8..d6b7d8c90ec 100644
--- a/modules/costs/app/controllers/admin/costs_settings_controller.rb
+++ b/modules/costs/app/controllers/admin/costs_settings_controller.rb
@@ -40,9 +40,8 @@ module Admin
private
def validate_times_enabled_for_enforcement
- pp(settings_params)
- allow_times = ActiveRecord::Type::Boolean.new.cast(settings_params[:allow_tracking_start_and_end_times])
- force_times = ActiveRecord::Type::Boolean.new.cast(settings_params[:enforce_tracking_start_and_end_times])
+ allow_times = ActiveRecord::Type::Boolean.new.cast(settings_params[:allow_tracking_start_and_end_times])
+ force_times = ActiveRecord::Type::Boolean.new.cast(settings_params[:enforce_tracking_start_and_end_times])
if force_times && !allow_times
flash[:error] = I18n.t("setting_enforce_without_allow")