From 35c15baf24dc57dfe013685947db059d8594d193 Mon Sep 17 00:00:00 2001 From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> Date: Tue, 10 Oct 2023 12:57:54 +0200 Subject: [PATCH] remove obsolete code --- controllers/assistant.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/controllers/assistant.php b/controllers/assistant.php index 78fd3a9..8653d09 100644 --- a/controllers/assistant.php +++ b/controllers/assistant.php @@ -66,20 +66,8 @@ class AssistantController extends PluginController $datafields[$id]->store(); } - if (!LockRules::Check($this->course_id, 'admission_turnout')) { - $course = Course::find($this->course_id); - $course->admission_turnout = Request::int('admission_turnout'); - $course->store(); - - update_admission($this->course_id); - } - PageLayout::postSuccess($this->_('Die Einstellungen für die Veranstaltungsform wurden gespeichert')); - if ($datafields[$ids[0]]->value != $datafields[$ids[0]]->model->default_value) { - PageLayout::postInfo($this->_('Bitte denken Sie daran, dass die gemachten Angaben nicht die Raumbuchung ersetzen!')); - } - $this->redirect('assistant'); } -- GitLab