Skip to content

Commit be97c65

Browse files
author
Laur0r
authored
Merge pull request #85 from learnweb/fix/useless-db-grade-fields
Remove useless and inconsistent grade db fields
2 parents 872bc1b + 1df01bd commit be97c65

25 files changed

+43
-28
lines changed

.github/workflows/moodle-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
steps:
115115
- name: Start MariaDB
116116
if: matrix.database == 'mariadb'
117-
run: docker run -p 3306:3306 -e MYSQL_USER=root -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d mariadb:10
117+
run: docker run -p 3306:3306 -e MYSQL_USER=root -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d mariadb:10.5
118118

119119
- name: Start PostgreSQL
120120
if: matrix.database == 'pgsql'

classes/event/rating_created.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ public function get_description() {
6363
public static function get_name() {
6464
return get_string('eventratingcreated', 'mod_moodleoverflow');
6565
}
66-
}
66+
}

classes/event/rating_deleted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ public function get_description() {
6363
public static function get_name() {
6464
return get_string('eventratingdeleted', 'mod_moodleoverflow');
6565
}
66-
}
66+
}

classes/event/rating_updated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ public function get_description() {
6363
public static function get_name() {
6464
return get_string('eventratingupdated', 'mod_moodleoverflow');
6565
}
66-
}
66+
}

classes/observer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@ public static function course_module_created(\core\event\course_module_created $
141141
moodleoverflow_instance_created($event->get_context(), $moodleoverflow);
142142
}
143143
}
144-
}
144+
}

classes/privacy/data_export_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,4 +498,4 @@ public static function get_subcontext($discussion = null, $post = null) {
498498
}
499499
return $subcontext;
500500
}
501-
}
501+
}

classes/readtracking.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,4 +565,4 @@ public static function moodleoverflow_count_unread_posts_course($userid, $course
565565
// Else return nothing.
566566
return array();
567567
}
568-
}
568+
}

classes/subscriptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,4 +1081,4 @@ public static function get_discussion_subscription_icon($moodleoverflow, $discus
10811081

10821082
return \html_writer::link($subscriptionlink, $output, $array);
10831083
}
1084-
}
1084+
}

db/events.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
'callback' => 'mod_moodleoverflow_observer::course_module_created',
4545
),
4646

47-
);
47+
);

db/messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828

2929
// Ordinary single moodleoverflow posts.
3030
'posts' => array(),
31-
);
31+
);

0 commit comments

Comments
 (0)