Skip to content

Commit

Permalink
Issue #255: feature 'fc' is not used.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Aug 11, 2020
1 parent 65d8456 commit cbbad15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Kernel/Modules/Installer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package Kernel::Modules::Installer;

use strict;
use warnings;
use feature qw(fc);

# core modules
use Net::Domain qw(hostfqdn);
Expand All @@ -38,7 +37,7 @@ our $ObjectManagerDisabled = 1;
sub new {
my ( $Type, %Param ) = @_;

# Allocate new hash for object.
# Allocate new hash for object and initialize with the passed params
return bless { %Param }, $Type;
}

Expand All @@ -48,6 +47,7 @@ sub Run {
my $LayoutObject = $Kernel::OM->Get('Kernel::Output::HTML::Layout');
my $ConfigObject = $Kernel::OM->Get('Kernel::Config');

# installing is only possible when SecureMode is not active
if ( $Kernel::OM->Get('Kernel::Config')->Get('SecureMode') ) {
$LayoutObject->FatalError(
Message => Translatable('SecureMode active!'),
Expand Down Expand Up @@ -363,6 +363,7 @@ sub Run {
},
);
$Output .= $LayoutObject->Footer();

return $Output;
}
elsif ( $DBType eq 'postgresql' ) {
Expand Down

0 comments on commit cbbad15

Please sign in to comment.