Skip to content

Commit

Permalink
DEF-3113: Fixing unnecesary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ojnadjarm committed Oct 2, 2024
1 parent 23e727f commit 0801730
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ function report_customsql_pluginfile($course, $cm, $context, $filearea, $args, $

require_once(dirname(__FILE__) . '/locallib.php');


if ($context->contextlevel != CONTEXT_SYSTEM) {
return false;
}
Expand Down
1 change: 1 addition & 0 deletions locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ function report_customsql_generate_csv($report, $timenow, $returnheaderwhenempty
if (!empty($querylimit) && $count > $querylimit) {
report_customsql_write_csv_row($handle, [REPORT_CUSTOMSQL_LIMIT_EXCEEDED_MARKER]);
}

fclose($handle);
}

Expand Down

0 comments on commit 0801730

Please sign in to comment.