From 81090b8eb2d8d24072807062ccd5f32c8074069e Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Sat, 20 Apr 2013 10:38:49 +1000 Subject: Now record a state_update event *whenever* a user classifies a request --- app/models/info_request.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/models/info_request.rb') diff --git a/app/models/info_request.rb b/app/models/info_request.rb index c615a6a9e..adb944a7e 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -577,16 +577,6 @@ public end unless set_by.nil? || is_actual_owning_user?(set_by) || described_state == 'attention_requested' - # Log the status change by someone other than the requester - event = log_event("status_update", - { :user_id => set_by.id, - :old_described_state => old_described_state, - :described_state => described_state, - }) - # Create a classification event for league tables - RequestClassification.create!(:user_id => set_by.id, - :info_request_event_id => event.id) - RequestMailer.old_unclassified_updated(self).deliver if !is_external? end end -- cgit v1.2.3