• Модуль: webdav
  • Путь к файлу: ~/bitrix/modules/webdav/classes/diskdispatcher.php
  • Класс: CWebDavDiskDispatcher
  • Вызов: CWebDavDiskDispatcher::sendResponse
public function sendResponse($response)
{
	if($this->freezeModule)
	{
		return array(
			'status' => static::STATUS_NOT_FOUND,
			'message' => 'Run migrate',
		);
	}

	if(!$this->ignoreQuotaError() && $this->isQuotaError())
	{
		return array(
			'status' => static::STATUS_NO_SPACE,
		);
	}

	$detail = $this->getErrors();
	if($detail)
	{
		$response['detail'] = $detail;
	}
	return $response;
}