Update application.rb

Use PG.connect instead of PGconn.connect
This commit is contained in:
Martin Kangur 2018-01-31 12:47:28 +02:00 committed by GitHub
parent ffb2ea1323
commit 9cbb8e9e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,7 +314,7 @@ class Application
ldap_groups = uniq_names search_ldap_groups
# gather PGs users and groups
@pgconn = PGconn.connect @config[:pg_connection]
@pgconn = PG.connect @config[:pg_connection]
pg_users = uniq_names search_pg_users
pg_groups = uniq_names search_pg_groups