1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
helper.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Rest;
4
5
use \Bitrix\Main\Application;
6
11
class
Helper
12
{
18
public
static
function
recoveryAgents
(): string
19
{
20
$connection
=
Application::getConnection
();
21
$connection
->query(
22
"UPDATE b_agent SET ACTIVE = 'Y', RETRY_COUNT = 0, RUNNING='N'
23
WHERE MODULE_ID = 'rest' and RETRY_COUNT > 2 and ACTIVE = 'N';"
24
);
25
26
return
'\Bitrix\Rest\Helper::recoveryAgents();'
;
27
}
28
}
$connection
$connection
Определения
actionsdefinitions.php:38
Bitrix\Main\Application\getConnection
static getConnection($name="")
Определения
application.php:638
Bitrix\Main\Diag\Helper
Определения
helper.php:5
Bitrix\Rest\Helper\recoveryAgents
static recoveryAgents()
Определения
helper.php:18
bitrix
modules
rest
lib
helper.php
Создано системой
1.14.0