• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/data/statichtmlcache.php
  • Класс: BitrixMainDataStaticHtmlCache
  • Вызов: StaticHtmlCache::delete
public function delete()
{
	if ($this->storage === null)
	{
		return false;
	}

	$this->writeDebug();

	$deletedSize = $this->storage->delete();
	if ($deletedSize !== false && $this->storage->shouldCountQuota())
	{
		CHTMLPagesCache::writeStatistic(0, 0, 0, 0, -$deletedSize);
	}

	return $deletedSize;
}