unstick r16858

Revision 16858

Date:
2017/07/23 10:43:33
Author:
jplang
Revision Log:
Removes debugging stuff.
Files:

Legend:

 
Added
 
Removed
 
Modified
  • sandbox/rails-5.1/app/models/issue.rb

     
    116 116 after_destroy :update_parent_attributes
    117 117 after_create :send_notification
    118 118
    119 before_save {|issue| Rails.logger.debug "===========before_save: assigned_to_id_in_database: #{issue.assigned_to_id_in_database} assigned_to_id_before_last_save: #{issue.assigned_to_id_before_last_save}"}
    120 after_save {|issue| Rails.logger.debug "===========after_save: assigned_to_id_in_database: #{issue.assigned_to_id_in_database} assigned_to_id_before_last_save: #{issue.assigned_to_id_before_last_save}"}
    121
    122 119 # Returns a SQL conditions string used to find all issues visible by the specified user
    123 120 def self.visible_condition(user, options={})
    124 121 Project.allowed_to_condition(user, :view_issues, options) do |role, user|