aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-03-30 23:07:19 -0400
committerRalph Amissah <ralph@amissah.com>2011-03-30 23:07:19 -0400
commit9542185b9e59836211caecf9e34dc355619909d1 (patch)
treee4625acb56dc936f8279023cae1c10ee9147761a /lib
parentv2: param, nested regex match fix (backport from v3) (diff)
v2, v3: sysenv, remove repeated method
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+/) \