Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2458 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-02-12 21:25:50 +00:00
parent 5bdd429162
commit ff9da0bab0
196 changed files with 222 additions and 30207 deletions
+4
View File
@@ -140,6 +140,10 @@ class Setting < ActiveRecord::Base
per_page_options.split(%r{[\s,]}).collect(&:to_i).select {|n| n > 0}.sort
end
def self.openid?
Object.const_defined?(:OpenID) && self['openid'].to_s == '1'
end
# Checks if settings have changed since the values were read
# and clears the cache hash if it's the case
# Called once per request