aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/sysenv.rb3
-rw-r--r--lib/sisu/v3/sysenv.rb3
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/sisu/v2/sysenv.rb b/lib/sisu/v2/sysenv.rb
index ef6d86c7..72b1ffc7 100644
--- a/lib/sisu/v2/sysenv.rb
+++ b/lib/sisu/v2/sysenv.rb
@@ -2757,9 +2757,6 @@ WOK
? @rc['db']['postgresql']['port'] \
: (@defaults[:postgresql_port])
end
- def dbi
- "DBI:Pg:database=#{psql.db};port=#{psql.port}"
- end
def password
((defined? @rc['db']['postgresql']['password']) \
&& @rc['db']['postgresql']['password']=~/\S+/) \
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index d4d0f16d..7cc2a327 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -3647,9 +3647,6 @@ WOK
? @rc['db']['postgresql']['port'] \
: (@defaults[:postgresql_port])
end
- def dbi
- "DBI:Pg:database=#{psql.db};port=#{psql.port}"
- end
def password
((defined? @rc['db']['postgresql']['password']) \
&& @rc['db']['postgresql']['password']=~/\S+/) \