forked from lix-project/hydra
Remove unnecessary comment
This commit is contained in:
parent
173ecb5d92
commit
503b0e0b6f
|
@ -44,11 +44,6 @@ sub getHydraConfig {
|
||||||
my $conf = $ENV{"HYDRA_CONFIG"} || (Hydra::Model::DB::getHydraPath . "/hydra.conf");
|
my $conf = $ENV{"HYDRA_CONFIG"} || (Hydra::Model::DB::getHydraPath . "/hydra.conf");
|
||||||
my %opts = (%Hydra::Config::configGeneralOpts, -ConfigFile => $conf);
|
my %opts = (%Hydra::Config::configGeneralOpts, -ConfigFile => $conf);
|
||||||
if (-f $conf) {
|
if (-f $conf) {
|
||||||
|
|
||||||
# Please keep these options in sync with corresponding
|
|
||||||
# `Catalyst::Plugin::ConfigLoader` configuration in `Hydra.pm`
|
|
||||||
# This is necessary in order to maintain consistent interpretation
|
|
||||||
# of the config by the various hydra components.
|
|
||||||
my %h = new Config::General(%opts)->getall;
|
my %h = new Config::General(%opts)->getall;
|
||||||
|
|
||||||
$hydraConfig = \%h;
|
$hydraConfig = \%h;
|
||||||
|
|
Loading…
Reference in a new issue