Permalink
Browse files

removed stray puts

  • Loading branch information...
1 parent 9eee1b4 commit bf57b77ee4d739408ccff7de741752bb15dba4d4 @zuk zuk committed Jun 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/casserver/model.rb
View
@@ -19,7 +19,7 @@ def cleanup(max_lifetime, max_unconsumed_lifetime)
conditions = ["created_on < ? OR (consumed IS NULL AND created_on < ?)",
Time.now - max_lifetime,
Time.now - max_unconsumed_lifetime]
- puts all.count
+
expired_tickets_count = count(:conditions => conditions)
$LOG.debug("Destroying #{expired_tickets_count} expired #{self.name.demodulize}"+

0 comments on commit bf57b77

Please sign in to comment.