Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed stray puts

  • Loading branch information...
commit bf57b77ee4d739408ccff7de741752bb15dba4d4 1 parent 9eee1b4
@zuk zuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/casserver/model.rb
View
2  lib/casserver/model.rb
@@ -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}"+
Please sign in to comment.
Something went wrong with that request. Please try again.