Project

General

Profile

Disable automatic posting of "diff" updates.

Added by Matt U about 12 years ago

Hi,

I've just set up a new Redmine and I'm looking for a way to turn off the automatic "Description updated (diff)" that are getting posted in my issues. These were turned off in the old Redmine I was using (which I did not set up).

The only "diff" setting I could find was max diff lines displayed and I don't think this is what I need? Can somebody provide assistance?

thx.

Matt


Replies (4)

RE: Disable automatic posting of "diff" updates. - Added by Ivan Cenov almost 12 years ago

AFAIK it is not possible by now.

RE: Disable automatic posting of "diff" updates. - Added by Jean-Philippe Lang almost 12 years ago

It can't be turned off but a simple patch will do what you want:

Index: app/models/issue.rb
===================================================================
--- app/models/issue.rb    (revision 9632)
+++ app/models/issue.rb    (working copy)
@@ -1000,7 +1000,7 @@
     if @current_journal
       # attributes changes
       if @attributes_before_change
-        (Issue.column_names - %w(id root_id lft rgt lock_version created_on updated_on)).each {|c|
+        (Issue.column_names - %w(id root_id lft rgt lock_version created_on updated_on description)).each {|c|
           before = @attributes_before_change[c]
           after = send(c)
           next if before == after || (before.blank? && after.blank?)

RE: Disable automatic posting of "diff" updates. - Added by Matt U almost 12 years ago

Ok, good to know. Thanks very much for the help!

    (1-4/4)