Project

General

Profile

Patch #28030 ยป unused_method.patch

Dmitry Lisichkin, 2018-01-21 14:51

View differences:

app/models/issue.rb (date 1516542238000)
1852 1852
    @previous_assigned_to_id = assigned_to_id_was
1853 1853
  end
1854 1854

  
1855
  # Clears the previous assignee at the end of after_save callbacks
1856
  def clear_assigned_to_was
1857
    @assigned_to_was = nil
1858
    @previous_assigned_to_id = nil
1859
  end
1860

  
1861 1855
  def clear_disabled_fields
1862 1856
    if tracker
1863 1857
      tracker.disabled_core_fields.each do |attribute|
    (1-1/1)