Loyalty feature installer (#118)
* fixes for crash during the installation * add LP activate option
This commit is contained in:
parent
3cef545dd2
commit
3a4b4b8408
1 changed files with 3 additions and 3 deletions
|
@ -162,10 +162,10 @@ class intaro_retailcrm extends CModule
|
|||
$infoSale = CModule::CreateModuleObject('sale')->MODULE_VERSION;
|
||||
if (version_compare($infoSale, '16', '<=')) {
|
||||
$APPLICATION->ThrowException(GetMessage("SALE_VERSION_ERR"));
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (!Loader::includeModule('sale')) {
|
||||
return false;
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ class intaro_retailcrm extends CModule
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
include($this->INSTALL_PATH . '/../classes/general/Http/Client.php');
|
||||
include($this->INSTALL_PATH . '/../classes/general/Response/ApiResponse.php');
|
||||
include($this->INSTALL_PATH . '/../classes/general/RCrmActions.php');
|
||||
|
|
Loading…
Add table
Reference in a new issue