rename the config location for the DBIC connect_info

otherwise the changes will conflict with the configuration of ossbss
agranig/2.004-ramoptimized
Gerhard Jungwirth 12 years ago committed by Lars Dieckow
parent 4c17ac19b9
commit 7948bc9f7f

@ -16,7 +16,7 @@ class_has('config', is => 'rw', isa => 'NGCP::Schema::Config', lazy => 1, defaul
});
method connection {
$self->SUPER::connection($self->config->as_hash->{database});
$self->SUPER::connection($self->config->as_hash->{ngcp_connect_info});
}
method validate($data, $mandatory_params, $optional_params?) {

@ -25,7 +25,7 @@
tmpdir="/tmp"
usrprefs_as_number="1"
voicemail_map_via_number="0">
<database
<ngcp_connect_info
dsn="DBI:mysql:database=provisioning;host=localhost;port=3306"
mysql_enable_utf8="1"
on_connect_call="set_strict_mode"

Loading…
Cancel
Save