Skip to content

Commit

Permalink
MDL-78341 tool_httpsreplace: Make progress order deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanheywood committed Jun 13, 2023
1 parent 73ed05e commit c653fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/httpsreplace/classes/url_finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected function process($replacing = false, $progress = null) {
}

$urls = array();

sort($tables); // Make it easier to see progress because they are ordered.
$numberoftables = count($tables);
$tablenumber = 0;
foreach ($tables as $table) {
Expand Down

0 comments on commit c653fe2

Please sign in to comment.