diff --git a/system/View/View.php b/system/View/View.php index aaf807a9dc50..9cb764958b23 100644 --- a/system/View/View.php +++ b/system/View/View.php @@ -124,16 +124,6 @@ class View implements RendererInterface */ protected $sections = []; - /** - * The name of the current section being rendered, - * if any. - * - * @var string|null - * - * @deprecated - */ - protected $currentSection; - /** * The name of the current section being rendered, * if any. @@ -420,8 +410,6 @@ public function extend(string $layout) */ public function section(string $name) { - // Saved to prevent BC. - $this->currentSection = $name; $this->sectionStack[] = $name; ob_start();