Remove mysql

This commit is contained in:
chris committed 2013-01-07 03:02:16 +08:00
1 parent c6111460f5
commit 9745bcf7f1
2 files changed
-17

No files matched your search

@@ -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