Remove unnecessary comment

This commit is contained in:
Shay Bergmann 2021-07-26 17:11:35 +00:00
parent 173ecb5d92
commit 503b0e0b6f
No known key found for this signature in database
GPG key ID: 9B31F845AB291324

View file

@ -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;