Skip to content

Commit d7cb0d8

Browse files
committed
last changes on version number for release
1 parent fdfec0e commit d7cb0d8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: classes/ratings.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ public static function moodleoverflow_sort_answers_by_ratings($posts) {
249249

250250
// Sort the answer posts by ratings.
251251
// Build groups of different types of answers (Solved and helpful, only solved/helpful, other).
252-
// statusteacher == 1 means the post is marked as solved.
253-
// statusstarter == 1 means the post is marked as helpful.
252+
// markedsolved == 1 means the post is marked as solved.
253+
// markedhelpful == 1 means the post is marked as helpful.
254254
// If a group is complete, sort the group.
255255
$index = 1;
256256
$startsolvedandhelpful = 1;

Diff for: tests/ratings_test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function test_answersorting_threegroups() {
168168
$result = $this->postsorderequal($sortedposts, $rightorderposts);
169169
$this->assertEquals(1, $result);
170170

171-
// Test without posts that are marked as both helpful and marked.
171+
// Test without posts that are marked as both helpful and solved.
172172
$posts = array($this->post, $this->answer2, $this->answer3, $this->answer4, $this->answer5, $this->answer6);
173173
$this->set_ratingpreferences(0);
174174
$sortedposts = ratings::moodleoverflow_sort_answers_by_ratings($posts);

Diff for: version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
defined('MOODLE_INTERNAL') || die();
2929

3030
$plugin->component = 'mod_moodleoverflow';
31-
$plugin->version = 2023050802;
31+
$plugin->version = 2023052200;
3232
$plugin->release = 'v4.2-r1';
3333
$plugin->requires = 2020061500; // Requires Moodle 3.9+.
3434
$plugin->maturity = MATURITY_STABLE;

0 commit comments

Comments
 (0)