Remove mysql

This commit is contained in:
chris 2012-12-22 17:35:59 +08:00
parent c6111460f5
commit 9745bcf7f1
2 changed files with 0 additions and 17 deletions

View File

@ -22,7 +22,6 @@ gem 'mini_magick'
gem 'mongoid', '> 2.1', '< 3.0.0'
gem 'mongoid-tree', :require => 'mongoid/tree'
gem "mongo_session_store-rails3"
gem 'mysql2'
gem 'nokogiri'

View File

@ -1,16 +0,0 @@
#encoding: utf-8
require 'mysql2'
$nccu_ldap_connection
module NccuLdapConnection
BASE = 'ou=People,dc=nccu,dc=edu,dc=tw'
def self.establish
$nccu_ldap_connection = Net::LDAP.new
$nccu_ldap_connection.port =LDAP_CONFIG["port"]
$nccu_ldap_connection.host = LDAP_CONFIG["host"]
$nccu_ldap_connection.authenticate(LDAP_CONFIG["authenticate_info"],LDAP_CONFIG["authenticate_pwd"])
end
end