MDL-46269 tool_httpsreplace: Combine CLI scripts
This commit is contained in:
committed by
Marina Glancy
parent
55b1d231ed
commit
16d5ec55c9
@@ -67,7 +67,7 @@ class url_finder {
|
||||
private function domain_swap($table, $column, $domain) {
|
||||
global $DB;
|
||||
|
||||
$renames = (array)json_decode(get_config('tool_httpsreplace', 'renames'));
|
||||
$renames = json_decode(get_config('tool_httpsreplace', 'renames'), true);
|
||||
|
||||
$search = "http://$domain";
|
||||
$replace = "https://$domain";
|
||||
|
||||
Reference in New Issue
Block a user