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

	$deletedSize = $this->storage->delete();
	if ($deletedSize !== false && $this->storage->shouldCountQuota())
	{
		Helper::updateCacheFileSize(-$deletedSize);
	}

	PageManager::deleteByCacheKey($this->cacheKey);

	return $deletedSize;
}