MDL-73734 tool_httpreplace: Use streaming output api

This commit is contained in:
Brendan Heywood
2023-06-12 09:49:34 +10:00
parent d5860ac566
commit 9a8fccbabc
2 changed files with 9 additions and 1 deletions
@@ -151,6 +151,7 @@ class url_finder {
sort($tables); // Make it easier to see progress because they are ordered.
$numberoftables = count($tables);
$tablenumber = 0;
sort($tables);
foreach ($tables as $table) {
if ($progress) {
$progress->update($tablenumber, $numberoftables, get_string('searching', 'tool_httpsreplace', $table));