diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-17 15:18:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-17 15:18:50 +0000 |
commit | 10cf1ccc1abe1c6ffdf21259b54292f9068b569c (patch) | |
tree | d43c2fd622b2126f72672d177f482e4934106e3d /app/models/token.rb | |
parent | 22b42dc90a86b16904224bf638054fffd062b53f (diff) | |
download | redmine-10cf1ccc1abe1c6ffdf21259b54292f9068b569c.tar.gz redmine-10cf1ccc1abe1c6ffdf21259b54292f9068b569c.zip |
added rss/atom feeds at project levels for:
* news
* new issues reported
* details of issue changes
issue cutom queries can be used as feeds
git-svn-id: http://redmine.rubyforge.org/svn/trunk@339 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/token.rb')
-rw-r--r-- | app/models/token.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/token.rb b/app/models/token.rb index 98745d29e..0e8c2c3e2 100644 --- a/app/models/token.rb +++ b/app/models/token.rb @@ -31,7 +31,7 @@ class Token < ActiveRecord::Base # Delete all expired tokens def self.destroy_expired - Token.delete_all ["created_on < ?", Time.now - @@validity_time] + Token.delete_all ["action <> 'feeds' AND created_on < ?", Time.now - @@validity_time] end private |