MDL-46269 tool_httpsreplace: Support DBs with no regex (oracle & mssql)

This commit is contained in:
John Okely
2017-09-04 14:08:01 +08:00
committed by Marina Glancy
parent c74748c6bd
commit 6163651e76
3 changed files with 20 additions and 2 deletions
@@ -41,6 +41,11 @@ Example:
exit(0);
}
if (!$DB->replace_all_text_supported()) {
echo $OUTPUT->notification(get_string('notimplemented', 'tool_httpsreplace'));
exit(1);
}
if (!is_https()) {
echo $OUTPUT->notification(get_string('httpwarning', 'tool_httpsreplace'), 'warning');
}