Skip to content

Commit e960864

Browse files
mchurchwardclaude
andcommitted
Add TODO note to user_has_submitted re Phase 9 manager migration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 966396e commit e960864

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

classes/questionnaire.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ public function user_has_saved_response(int $userid): bool {
550550
/**
551551
* True if the given user has at least one complete (submitted) response for this questionnaire.
552552
*
553+
* TODO Phase 9: once the response manager holds the new questionnaire class, replace the direct
554+
* response_record call here with (new \mod_questionnaire\local\response\manager($this))->response_exists($userid).
555+
*
553556
* @param int $userid
554557
* @return bool
555558
*/

0 commit comments

Comments
 (0)