From c653fe20bd93c706627bc3fb8a51208c6f2bd9f5 Mon Sep 17 00:00:00 2001 From: Brendan Heywood Date: Tue, 13 Jun 2023 22:06:28 +1000 Subject: [PATCH] MDL-78341 tool_httpsreplace: Make progress order deterministic --- admin/tool/httpsreplace/classes/url_finder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/tool/httpsreplace/classes/url_finder.php b/admin/tool/httpsreplace/classes/url_finder.php index 8dc141616b9..7ac5bc3cf2b 100644 --- a/admin/tool/httpsreplace/classes/url_finder.php +++ b/admin/tool/httpsreplace/classes/url_finder.php @@ -148,7 +148,7 @@ class url_finder { } $urls = array(); - + sort($tables); // Make it easier to see progress because they are ordered. $numberoftables = count($tables); $tablenumber = 0; foreach ($tables as $table) {