mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 10:03:00 +01:00
Clean code with rector 2
This commit is contained in:
@@ -2030,7 +2030,7 @@ class Setup extends DolibarrApi
|
||||
// Remote file to compare to
|
||||
$xmlremote = ($target == 'default' ? '' : $target);
|
||||
if (empty($xmlremote) && getDolGlobalString('MAIN_FILECHECK_URL')) {
|
||||
$xmlremote = $conf->global->MAIN_FILECHECK_URL;
|
||||
$xmlremote = getDolGlobalString('MAIN_FILECHECK_URL');
|
||||
}
|
||||
$param = 'MAIN_FILECHECK_URL_'.DOL_VERSION;
|
||||
if (empty($xmlremote) && getDolGlobalString($param)) {
|
||||
|
||||
Reference in New Issue
Block a user