aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-21 23:34:23 +0000
committerfrancis <francis>2008-05-21 23:34:23 +0000
commitab1071525a3b74505fc9bf320756b227afeca456 (patch)
tree7e79e6dd2ed071b9e5f52aa8e03a3ca0f32f0bfc /app/controllers/admin_controller.rb
parent7fd83d90dc8b867e098b82d7c72d2d8029bfd479 (diff)
Admin classify after 1 week, not 2 weeks.
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r--app/controllers/admin_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 67cd5fac8..f00ee2c1e 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -4,7 +4,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: admin_controller.rb,v 1.14 2008-04-18 15:11:13 francis Exp $
+# $Id: admin_controller.rb,v 1.15 2008-05-21 23:34:23 francis Exp $
class AdminController < ApplicationController
layout "admin"
@@ -20,7 +20,7 @@ class AdminController < ApplicationController
# Tasks to do
@requires_admin_requests = InfoRequest.find(:all, :conditions => ["described_state = 'requires_admin'"])
@blank_contacts = PublicBody.find(:all, :conditions => ["request_email = ''"])
- @two_week_old_unclassified = InfoRequest.find(:all, :conditions => [ "awaiting_description and (select created_at from info_request_events where info_request_events.info_request_id = info_requests.id order by created_at desc limit 1) < ? and prominence != 'backpage'", Time.now() - 2.weeks ])
+ @one_week_old_unclassified = InfoRequest.find(:all, :conditions => [ "awaiting_description and (select created_at from info_request_events where info_request_events.info_request_id = info_requests.id order by created_at desc limit 1) < ? and prominence != 'backpage'", Time.now() - 1.weeks ])
end
def timeline