Merge branch 'v2.2' into v2.2

This commit is contained in:
Akolzin Dmitry 2017-09-22 16:52:55 +02:00 committed by GitHub
commit 9ac3fe699b
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ class ModelRetailcrmCustomer extends Model {
$this->retailcrmApi = new RetailcrmProxy(
$settings['retailcrm_url'],
$settings['retailcrm_apikey'],
$this->serLogs()
$this->setLogs()
);
$customersToCrm = array();

View File

@ -41,7 +41,7 @@ class ModelRetailcrmHistory extends Model
$crm = new RetailcrmProxy(
$settings['retailcrm_url'],
$settings['retailcrm_apikey'],
$this->serLogs()
$this->setLogs()
);
$lastRun = !empty($history['retailcrm_history'])

View File

@ -15,9 +15,9 @@ class ModelRetailcrmOrder extends Model {
require_once DIR_SYSTEM . 'library/retailcrm/bootstrap.php';
$this->retailcrmApi = new RetailcrmProxy(
$this->settings['retailcrm_url'],
$this->settings['retailcrm_apikey'],
$this->serLogs()
$settings['retailcrm_url'],
$settings['retailcrm_apikey'],
$this->setLogs()
);
$ordersToCrm = array();