• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/internals/steppers/deletedlogmover.php
  • Класс: BitrixDiskInternalsSteppersDeletedLogMover
  • Вызов: DeletedLogMover::continueExecutionWithoutAgent
static function continueExecutionWithoutAgent($portion = self::PORTION)
{
	$status = self::getStatus();
	if ($status === self::STATUS_INDEX || $status === self::STATUS_PAUSE)
	{
		Option::set('disk', 'deleted_log_migrate', self::STATUS_INDEX);

		$resultData = [];
		$indexer = new static();
		$indexer
			->setPortionSize($portion)
			->execute($resultData)
		;

		return true;
	}

	return false;
}