From 4f56d799accf77eab4cbf3065f41d5229fe25a6a Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Mon, 23 Jun 2025 07:43:39 +0200 Subject: [PATCH] remove private attribute --- application/controllers/api/frontend/v1/stv/Config.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/application/controllers/api/frontend/v1/stv/Config.php b/application/controllers/api/frontend/v1/stv/Config.php index 138bdec67..aed00ef27 100644 --- a/application/controllers/api/frontend/v1/stv/Config.php +++ b/application/controllers/api/frontend/v1/stv/Config.php @@ -29,8 +29,6 @@ class Config extends FHCAPI_Controller { - private $arr; - public function __construct() { // TODO(chris): permissions @@ -164,12 +162,11 @@ class Config extends FHCAPI_Controller 'changeStatusToAbsolvent' => $this->permissionlib->isBerechtigt('admin') ] ]; - $this->arr = [ + $result['finalexam'] = [ 'title' => $this->p->t('stv', 'tab_finalexam'), 'component' => './Stv/Studentenverwaltung/Details/Abschlusspruefung.js', 'config' => $config['finalexam'] ]; - $result['finalexam'] = $this->arr; Events::trigger('stv_conf_students', function & () use (&$result) { return $result;