Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
}
Bitrix\Main\Application\getConnection
static getConnection($name="")
Definition
application.php:611
Bitrix\Rest\Helper
Definition
helper.php:12
Bitrix\Rest\Helper\recoveryAgents
static recoveryAgents()
Definition
helper.php:18
Bitrix\Rest
Definition
accessexception.php:2
modules
rest
lib
helper.php
Создано системой
1.10.0