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 unused diff field check

Mir Bhatiae8eff0b5871f
diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb
index 05607cc6fd1..c8ab4b4d08e 100644
--- a/app/controllers/journals_controller.rb
+++ b/app/controllers/journals_controller.rb
@@ -104,8 +104,7 @@ class JournalsController < ApplicationController
# Is this a valid field for diff'ing?
def valid_field?
- field_param == 'description' || field_param == 'text'
- end
+ field_param == 'description'
def journals_index_title
subject = @project ? @project.name : Setting.app_title