1
0
mirror of synced 2024-11-22 05:16:09 +03:00

upd +0.4.3

This commit is contained in:
Grisha Pomadchin 2013-10-30 17:01:34 +04:00
parent 43cb653ee2
commit 45c180c40e
5 changed files with 2103 additions and 2085 deletions

View File

@ -31,7 +31,7 @@ class ICMLLoader {
$this->PrepareSettings();
$this->fp = $this->PrepareFile($this->filename);
$this->fp = $this->PrepareFile($this->filename. '.tmp');
if ($this->isLogged) {
$this->fpLog = $this->PrepareFile($this->logFile);
@ -57,6 +57,8 @@ class ICMLLoader {
$this->CloseFile($this->fp);
$this->CloseFile($this->fpLog);
unlink($_SERVER["DOCUMENT_ROOT"] . $this->filename);
rename($_SERVER["DOCUMENT_ROOT"] . $this->filename. '.tmp', $_SERVER["DOCUMENT_ROOT"] . $this->filename);
return true;

File diff suppressed because it is too large Load Diff

View File

@ -249,4 +249,15 @@ class ICrmOrderEvent {
return true;
}
/**
*
* @param type $ID -- orderId
* @param type $value -- ACCOUNT_NUMBER
* @return boolean
*/
function onBeforeOrderAccountNumberSet($ID, $value) {
if(isset($GLOBALS['ICRM_ACCOUNT_NUMBER']) && $GLOBALS['ICRM_ACCOUNT_NUMBER'])
return $GLOBALS['ICRM_ACCOUNT_NUMBER'];
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
<?
$arModuleVersion = array(
"VERSION" => "0.4.3",
"VERSION_DATE" => "2013-10-29 15:28:00",
"VERSION_DATE" => "2013-10-30 16:04:00",
);