Skip to content

Commit 5fe7dce

Browse files
lucaboeschsrobotta
authored andcommitted
Improvements to satisfy code checker.
1 parent ba60a47 commit 5fe7dce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/responsetype/file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function get_results_tags($weights, $participants, $respondents, $showtot
302302
$file = $fs->get_file_by_id($row->fileid);
303303

304304
if ($file) {
305-
// There is a file.
305+
// There is a file.
306306
$imageurl = moodle_url::make_pluginfile_url(
307307
$file->get_contextid(),
308308
$file->get_component(),

db/upgrade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ function xmldb_questionnaire_upgrade($oldversion=0) {
10361036
}
10371037

10381038
if ($oldversion < 2023101501) {
1039-
// Upgrade files.itemid with questionnaire_response_file.id
1039+
// Upgrade files.itemid with questionnaire_response_file.id.
10401040
$filesresponses = $DB->get_records('questionnaire_response_file', [], '', 'id,fileid');
10411041
$idmap = [];
10421042
foreach ($filesresponses as $fileresponse) {

0 commit comments

Comments
 (0)