Skip to content

Commit

Permalink
[Quiz] fixes attempts delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Oct 23, 2023
1 parent e8dd5a8 commit 104d34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/exo/Manager/Attempt/PaperManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
}

Expand Down

0 comments on commit 104d34d

Please sign in to comment.