update chngelog
This commit is contained in:
parent
88ca56156e
commit
b8299b7718
@ -1,3 +1,5 @@
|
|||||||
|
## 2015-02-13 v.1.0.16
|
||||||
|
* Все действия агента происходят от имени retailcrm
|
||||||
## 2015-02-12 v.1.0.16
|
## 2015-02-12 v.1.0.16
|
||||||
* Исправлен агент
|
* Исправлен агент
|
||||||
* Исправлены ошибки с запоминанием пользователя
|
* Исправлены ошибки с запоминанием пользователя
|
||||||
|
@ -1529,15 +1529,15 @@ class RetailUser extends CUser
|
|||||||
$retailUser = new CUser;
|
$retailUser = new CUser;
|
||||||
$userPassword = uniqid();
|
$userPassword = uniqid();
|
||||||
$arFields = array(
|
$arFields = array(
|
||||||
"NAME" => 'retailcrm',
|
"NAME" => 'retailcrm',
|
||||||
"LAST_NAME" => 'retailcrm',
|
"LAST_NAME" => 'retailcrm',
|
||||||
"EMAIL" => 'retailcrm@retailcrm.com',
|
"EMAIL" => 'retailcrm@retailcrm.com',
|
||||||
"LOGIN" => 'retailcrm',
|
"LOGIN" => 'retailcrm',
|
||||||
"LID" => "ru",
|
"LID" => "ru",
|
||||||
"ACTIVE" => "Y",
|
"ACTIVE" => "Y",
|
||||||
"GROUP_ID" => array(2),
|
"GROUP_ID" => array(2),
|
||||||
"PASSWORD" => $userPassword,
|
"PASSWORD" => $userPassword,
|
||||||
"CONFIRM_PASSWORD" => $userPassword
|
"CONFIRM_PASSWORD" => $userPassword
|
||||||
);
|
);
|
||||||
$id = $retailUser->Add($arFields);
|
$id = $retailUser->Add($arFields);
|
||||||
if (!$id) {
|
if (!$id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user