History::redo

  1. Bitrix24 API (v. 23.675.0)
  2. landing
  3. History
  4. redo
  • Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/history.php
  • Класс: BitrixLandingHistory
  • Вызов: History::redo
public function redo(): bool
{
	if ($this->canRedo())
	{
		self::deactivate();
		$action = $this->getActionForStep($this->step + 1, false);
		if ($action && $action->execute(false))
		{
			return $this->saveStep($this->step + 1);
		}
	}

	return false;
}

Добавить комментарий