From 1c4618fd6e797594d3949a720b05939638c692d5 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 25 Jan 2018 11:29:38 +0100 Subject: [PATCH] Applied fixes from FlintCI --- main/inc/lib/internationalization.lib.php | 4 ++-- main/install/install.lib.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/main/inc/lib/internationalization.lib.php b/main/inc/lib/internationalization.lib.php index 5464179fdd..718e5164ab 100755 --- a/main/inc/lib/internationalization.lib.php +++ b/main/inc/lib/internationalization.lib.php @@ -73,7 +73,7 @@ function get_lang($variable) $defaultDomain = 'messages'; $translated = Container::getTranslator()->trans( $variable, - array(), + [], $defaultDomain ); @@ -81,7 +81,7 @@ function get_lang($variable) // Check the langVariable for BC $translated = Container::getTranslator()->trans( "lang$variable", - array(), + [], $defaultDomain ); diff --git a/main/install/install.lib.php b/main/install/install.lib.php index 31e010a2e0..cf73c7a91f 100755 --- a/main/install/install.lib.php +++ b/main/install/install.lib.php @@ -469,7 +469,6 @@ function get_language_folder_list() 'sw' => 'swahili', 'yo' => 'yoruba' ]; - } /**