Closed skrede closed 6 years ago
This exception is thrown if capquiz_delete_instance() returns false. I can only find one instance, which is in course/lib.php in the core. I don't understand what capquiz_delete_instance() does. There is no explicit return, so I have no clue what semantics defines the actual return value...
When attempting to remove a CAPQuiz instance the following error is encountered: 'error/cannotdeletemoduleinstance'
This doesn't seem to occur if an instructor creates a new CAPQuiz instance and immediately deletes it. This only occur if there has been activity in the CAPQuiz instance