1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

codestyle fix

This commit is contained in:
Sergey Chazov 2020-08-31 15:28:08 +03:00 committed by Павел
parent 223029a586
commit 1e9a684aa9

View file

@ -1292,19 +1292,20 @@ class intaro_retailcrm extends CModule
public function CopyFiles(): void
{
$path_from = $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/' . $this->MODULE_ID . '/install';
$saleSystemPath = COption::GetOptionString('sale', 'path2user_ps_files');
$pathFrom = $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/' . $this->MODULE_ID . '/install';
CopyDirFiles(
$path_from . '/export',
$pathFrom . '/export',
$_SERVER['DOCUMENT_ROOT'],
true,
true,
false
);
CopyDirFiles(
$path_from . '/export_sale_payment',
$_SERVER['DOCUMENT_ROOT'] . $saleSystemPath,
$pathFrom
. '/export_sale_payment',
$_SERVER['DOCUMENT_ROOT']
. COption::GetOptionString('sale', 'path2user_ps_files'),
true,
true,
false
@ -1486,13 +1487,14 @@ class intaro_retailcrm extends CModule
*/
public function addLPUserFields(): void
{
$fieldNames = [
"UF_REG_IN_PL_INTARO",
"UF_AGREE_PL_INTARO",
"UF_PD_PROC_PL_INTARO",
"UF_EXT_REG_PL_INTARO",
];
$this->addCustomUserFields($fieldNames);
$this->addCustomUserFields(
[
"UF_REG_IN_PL_INTARO",
"UF_AGREE_PL_INTARO",
"UF_PD_PROC_PL_INTARO",
"UF_EXT_REG_PL_INTARO",
]
);
}
/**