From c1db53a84cdc5b4d8657cfd86703973a4d6be979 Mon Sep 17 00:00:00 2001 From: Moritz Strohm Date: Thu, 3 Apr 2025 16:54:49 +0200 Subject: removed safety dance (but we can dance if we want to) --- app/controllers/course/lti.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/controllers/course/lti.php b/app/controllers/course/lti.php index 770fdb1..4e9f33a 100644 --- a/app/controllers/course/lti.php +++ b/app/controllers/course/lti.php @@ -1094,8 +1094,6 @@ class Course_LtiController extends StudipController public function add_platform_action() { - //TODO: safety dance - if (Request::isPost()) { $this->savePlatform(); } else { @@ -1105,8 +1103,6 @@ class Course_LtiController extends StudipController public function edit_platform_action($platform_id) { - //TODO: safety dance - $this->platform = LtiPlatform::find($platform_id); if (!$this->platform) { PageLayout::postError(_('Die LTI-Plattform wurde nicht gefunden.')); @@ -1146,8 +1142,6 @@ class Course_LtiController extends StudipController public function delete_platform_action($platform_id) { - //TODO: safety dance - CSRFProtection::verifyUnsafeRequest(); $platform = LtiPlatform::find($platform_id); -- cgit v1.0