Метод discardRestoreBackup

public

Сигнатура метода

public function discardRestoreBackup(int $templateId, ?int $userId): RestoreVersionResponse

Возвращает: RestoreVersionResponse

Описание

The user keeps the restored draft: the backup copy is not needed anymore.

Параметры

2
Имя Тип По умолчанию Флаги
$templateId int —
—
$userId ?int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Api/Service/WorkflowTemplateHistoryService.php
Расположение метода в файле
Строки 459–509

Исходный код

PHP