diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-11-24 10:29:24 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-11-24 10:29:24 +0000 |
| commit | 7dddea8ccca601bf2da28960f2e27a223fe60ea6 (patch) | |
| tree | b34ee92f9a4e0e4c1f7e4dcf5f15b396f9097d6f /app/controllers/consultation | |
| parent | 1231022837beceedef376e4bb8084ff38fbc7d93 (diff) | |
rework aux lock rules, use sorm model, deprecate old class and let name and description be translatable, fixes #1791
Closes #1791
Merge request studip/studip!1177
Diffstat (limited to 'app/controllers/consultation')
| -rw-r--r-- | app/controllers/consultation/consultation_controller.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/controllers/consultation/consultation_controller.php b/app/controllers/consultation/consultation_controller.php index eba81ff..dc7fd6e 100644 --- a/app/controllers/consultation/consultation_controller.php +++ b/app/controllers/consultation/consultation_controller.php @@ -26,13 +26,6 @@ abstract class ConsultationController extends AuthenticatedController URLHelper::addLinkParam('cid', $this->range->id); } - // Restore request if present - if (isset($this->flash['request'])) { - foreach ($this->flash['request'] as $key => $value) { - Request::set($key, $value); - } - } - // This defines the function to display a note. Not really a partial, // not a controller method. This has no real place... $this->displayNote = function ($what, $length = 40, $position = 'above') { @@ -72,11 +65,6 @@ abstract class ConsultationController extends AuthenticatedController return $this->range->getConfiguration()->CONSULTATION_TAB_TITLE; } - protected function keepRequest() - { - $this->flash['request'] = Request::getInstance()->getIterator()->getArrayCopy(); - } - /** * @param $block_id * |
