From a84f1f84bbaf2c890b0f45bc0e9c460e0848e274 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 5 Sep 2013 16:28:57 +0100 Subject: Don't save a public body version when updating the stats. --- lib/tasks/stats.rake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/tasks') diff --git a/lib/tasks/stats.rake b/lib/tasks/stats.rake index 58d6e30fb..4eda27289 100644 --- a/lib/tasks/stats.rake +++ b/lib/tasks/stats.rake @@ -112,7 +112,9 @@ namespace :stats do end public_body.info_requests_overdue_count = overdue_count + very_overdue_count public_body.no_xapian_reindex = true - public_body.save! + public_body.without_revision do + public_body.save! + end end end end -- cgit v1.2.3