Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
helper.php
1<?php
2
3namespace Bitrix\Rest;
4
5use \Bitrix\Main\Application;
6
11class 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}
static getConnection($name="")
static recoveryAgents()
Definition helper.php:18