diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-04-20 10:38:49 +1000 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-04-20 10:42:01 +1000 |
commit | 81090b8eb2d8d24072807062ccd5f32c8074069e (patch) | |
tree | 105a089c804a4463a10d65dd9f0f0c24f3e31360 /app/models/info_request.rb | |
parent | 7deabcc40c6b40ad47dff2809c772e2186bd11d1 (diff) |
Now record a state_update event *whenever* a user classifies a request
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 10 |
1 files changed, 0 insertions, 10 deletions
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 |