From a4f43a1becf0cb303b481783ba10f7bc1ee3bbeb Mon Sep 17 00:00:00 2001 From: Axel Penin Date: Mon, 23 Oct 2023 15:33:47 +0200 Subject: [PATCH] [Quiz] fixes attempts delete --- src/plugin/exo/Manager/Attempt/PaperManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/exo/Manager/Attempt/PaperManager.php b/src/plugin/exo/Manager/Attempt/PaperManager.php index 0f3b949f3f2..36c71428c8b 100644 --- a/src/plugin/exo/Manager/Attempt/PaperManager.php +++ b/src/plugin/exo/Manager/Attempt/PaperManager.php @@ -239,7 +239,7 @@ public function delete(array $papers): void $this->om->remove($paper); if ($resourceAttempt) { - $this->crud->delete($resourceAttempt); + $this->crud->delete($resourceAttempt, [Crud::NO_PERMISSIONS]); } }