Project

General

Profile

Patch #2780 ยป assigned-clear.patch

Thomas Pihl, 2009-02-18 18:30

View differences:

app/models/issue.rb
135 135
    end
136 136
  end
137 137
  
138
  def before_save  
138
  def before_save
139

  
140
    self.assigned_to = nil if IssueStatus.find(status_id).is_closed
141
    
139 142
    if @current_journal
140 143
      # attributes changes
141 144
      (Issue.column_names - %w(id description)).each {|c|
    (1-1/1)