aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-04-20 10:38:49 +1000
committerMatthew Landauer <matthew@openaustralia.org>2013-04-20 10:42:01 +1000
commit81090b8eb2d8d24072807062ccd5f32c8074069e (patch)
tree105a089c804a4463a10d65dd9f0f0c24f3e31360 /app/models/info_request.rb
parent7deabcc40c6b40ad47dff2809c772e2186bd11d1 (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.rb10
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