Skip to content

Commit

Permalink
CTP-3693 remove get_first_feedback() (ULCC#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
watson8 authored Oct 21, 2024
1 parent f51695f commit d9eebf3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions classes/models/submission.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ public function get_context() {
/**
* Gets all attached feedbacks, fetching from DB if not already there.
*
* @global moodle_database $DB
* @return feedback[] array of raw db records
*/
public function get_feedbacks() {
Expand All @@ -430,16 +429,6 @@ public function get_feedbacks() {
return $this->feedbacks;
}

/**
* Gets the first feedback that was submitted chronologically for this submission.
*
* @return mixed
*/
public function get_first_feedback() {
$feedback = reset($this->get_feedbacks());
return $feedback;
}

/**
* This will return the feedbacks that have been added, but which are not the final feedback.
*
Expand Down

0 comments on commit d9eebf3

Please sign in to comment.