MDL-46269 tool_httpsreplace: Add more info and warnings about the tool
This commit is contained in:
committed by
Marina Glancy
parent
f7e6fb04db
commit
c74748c6bd
@@ -41,5 +41,9 @@ Example:
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (!is_https()) {
|
||||
echo $OUTPUT->notification(get_string('httpwarning', 'tool_httpsreplace'), 'warning');
|
||||
}
|
||||
|
||||
$urlfinder = new \tool_httpsreplace\url_finder();
|
||||
$urlfinder->upgrade_http_links();
|
||||
|
||||
Reference in New Issue
Block a user