Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #140 from mitfik/voke-patch

CASServer::Model::Base does not exist anymore
  • Loading branch information...
commit 03e1bd8e65c2eba8d42d2de8f160ef1438149006 2 parents d35b17f + ea9b452
@mitfik mitfik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/casserver/server.rb
View
2  lib/casserver/server.rb
@@ -535,7 +535,7 @@ def self.init_database!
end
pgts = CASServer::Model::ProxyGrantingTicket.find(:all,
- :conditions => [CASServer::Model::Base.connection.quote_table_name(CASServer::Model::ServiceTicket.table_name)+".username = ?", tgt.username],
+ :conditions => [CASServer::Model::ServiceTicket.quoted_table_name+".username = ?", tgt.username],
:include => :service_ticket)
pgts.each do |pgt|
$LOG.debug("Deleting Proxy-Granting Ticket '#{pgt}' for user '#{pgt.service_ticket.username}'")
Please sign in to comment.
Something went wrong with that request. Please try again.