From 6e7632d1568059b9374fe6b8ad47156fb41f0e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Noack?= Date: Mon, 17 Jul 2023 16:04:58 +0000 Subject: =?UTF-8?q?Resolve=20#2856=20=20"Belegungspl=C3=A4ne=20sind=20f?= =?UTF-8?q?=C3=BCr=20Stud.IP=20Benutzer=20nur=20sichtbar,=20wenn=20die=20P?= =?UTF-8?q?l=C3=A4ne=20auch=20=C3=B6ffentlich=20gemacht=20werden"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2856 Merge request studip/studip!1974 --- app/controllers/resources/admin.php | 5 ----- app/views/resources/admin/configuration.php | 8 -------- app/views/resources/search/rooms.php | 3 +-- db/migrations/5.1.50_fix_for_biest2856.php | 29 +++++++++++++++++++++++++++++ lib/models/resources/Room.class.php | 4 ++-- 5 files changed, 32 insertions(+), 17 deletions(-) create mode 100644 db/migrations/5.1.50_fix_for_biest2856.php diff --git a/app/controllers/resources/admin.php b/app/controllers/resources/admin.php index 2f6e34e..f5834b3 100644 --- a/app/controllers/resources/admin.php +++ b/app/controllers/resources/admin.php @@ -1149,11 +1149,6 @@ class Resources_AdminController extends AuthenticatedController (bool)Request::get('resources_enable') ); $this->config->store( - 'RESOURCES_ALLOW_VIEW_RESOURCE_OCCUPATION', - (bool)Request::get('resources_allow_view_resource_occupation') - ); - - $this->config->store( 'RESOURCES_ALLOW_ROOM_PROPERTY_REQUESTS', (bool)Request::get('resources_allow_room_property_requests') ); diff --git a/app/views/resources/admin/configuration.php b/app/views/resources/admin/configuration.php index 23ade8d..5fb3e89 100644 --- a/app/views/resources/admin/configuration.php +++ b/app/views/resources/admin/configuration.php @@ -14,14 +14,6 @@
-