My favorites
▼
|
Sign in
substruct
Open-source Ruby on Rails E-Commerce
Project Home
Downloads
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
17
attachment: session_cleanup.patch
(705 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/tasks/substruct.rake
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/tasks/substruct.rake (revision 43)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/tasks/substruct.rake (working copy)
@@ -33,7 +33,7 @@
}
puts "Removing crusty sessions..."
- stale = Session.find(:all, :conditions => ["updated_at <= ?", Time.now - SESSION_TIMEOUT])
+ stale = Session.find(:all, :conditions => ["updated_at <= ?", Time.now - Session::SESSION_TIMEOUT])
stale.each { |s| s.destroy }
end
Powered by
Google Project Hosting