Apparently final private is pointless, who knew

This commit is contained in:
Erik Thuning 2024-02-21 16:31:51 +01:00
parent 048cfb3ee2
commit 60982069f6

@ -37,7 +37,7 @@ abstract class Page extends Responder {
$this->render_foot();
}
final private function render_head() {
private function render_head() {
$headtitle = $this->title;
$pagetitle = $this->title;
if($this->subtitle) {
@ -78,13 +78,13 @@ abstract class Page extends Responder {
return $menu;
}
final private function render_error() {
private function render_error() {
print(replace(array('type' => 'error',
'message' => $this->error),
$this->fragments['message']));
}
final private function render_foot() {
private function render_foot() {
print($this->template_parts['foot']);
}